BF [2991251] - Attachment handle replacements
https://sourceforge.net/tracker/?func=detail&aid=2991251&group_id=176962&atid=879332
This commit is contained in:
parent
36fab48e2f
commit
329af57c3c
|
@ -895,7 +895,7 @@ public class MAttachment extends X_AD_Attachment
|
||||||
log.warning("No File");
|
log.warning("No File");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!file.exists() || file.isDirectory())
|
if (!file.exists() || file.isDirectory() || !file.canRead())
|
||||||
{
|
{
|
||||||
log.warning("not added - " + file
|
log.warning("not added - " + file
|
||||||
+ ", Exists=" + file.exists() + ", Directory=" + file.isDirectory());
|
+ ", Exists=" + file.exists() + ", Directory=" + file.isDirectory());
|
||||||
|
|
Loading…
Reference in New Issue