Menu

#33 Bug in FileAttacher.java

mission critical
open
nobody
general (15)
5
2003-01-08
2003-01-08
No

This comment is with respect to version 0.7.10.

I encounter a ClassCast Exception in the file
FileAttacher.java:

description=new
String(((ByteStore)head.getObjContent("DESCRIPTION")).getBytes());

The Object returned by
head.getObjContent("DESCRIPTION") is actually a String,
not a ByteStore. I fixed it in my local version by
replacing the line by:

description= (String)head.getObjContent("DESCRIPTION");

Also one gets invalid emails by entering multiline
descriptions
in the current version.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB