IDEMPIERE-3766 Attachments is remove if storage is not available

This commit is contained in:
Carlos Ruiz 2018-12-15 17:28:30 +01:00
parent 36c3c55f9c
commit 46bdae37d7
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ public class AttachmentFileSystem implements IAttachmentStore {
attach.m_items.add(entry);
} else {
log.severe("file not found: " + file.getAbsolutePath());
attach.m_items.add(new MAttachmentEntry("~" + file.getName() + "~", "".getBytes(), attach.m_items.size() + 1));
}
}