IDEMPIERE-2304 Some attachment related functionalities not working with filesystem store
This commit is contained in:
parent
545183280f
commit
1fabfda6d6
|
@ -204,7 +204,7 @@ public class AttachmentFileSystem implements IAttachmentStore {
|
||||||
log.severe("Error Reading The File.");
|
log.severe("Error Reading The File.");
|
||||||
e1.printStackTrace();
|
e1.printStackTrace();
|
||||||
}
|
}
|
||||||
final MAttachmentEntry entry = new MAttachmentEntry(filePath,
|
final MAttachmentEntry entry = new MAttachmentEntry(file.getName(),
|
||||||
dataEntry, attach.m_items.size() + 1);
|
dataEntry, attach.m_items.size() + 1);
|
||||||
attach.m_items.add(entry);
|
attach.m_items.add(entry);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue