BF [2991251] - Attachment handle replacements

https://sourceforge.net/tracker/?func=detail&aid=2991251&group_id=176962&atid=879332
This commit is contained in:
trifonnt 2010-04-23 10:25:13 +00:00
parent 36fab48e2f
commit 329af57c3c
1 changed files with 1 additions and 1 deletions

View File

@ -895,7 +895,7 @@ public class MAttachment extends X_AD_Attachment
log.warning("No File");
return false;
}
if (!file.exists() || file.isDirectory())
if (!file.exists() || file.isDirectory() || !file.canRead())
{
log.warning("not added - " + file
+ ", Exists=" + file.exists() + ", Directory=" + file.isDirectory());