IDEMPIERE-3766 Attachments is remove if storage is not available
This commit is contained in:
parent
36c3c55f9c
commit
46bdae37d7
|
@ -220,6 +220,7 @@ public class AttachmentFileSystem implements IAttachmentStore {
|
||||||
attach.m_items.add(entry);
|
attach.m_items.add(entry);
|
||||||
} else {
|
} else {
|
||||||
log.severe("file not found: " + file.getAbsolutePath());
|
log.severe("file not found: " + file.getAbsolutePath());
|
||||||
|
attach.m_items.add(new MAttachmentEntry("~" + file.getName() + "~", "".getBytes(), attach.m_items.size() + 1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue