When calling method DocumentModelImpl#isDownloadable() for document with facet 
"Downloadable" I always get:
java.lang.ClassCastException: java.lang.Integer on cast here:
            Long size = (Long) getProperty("common", "size");

This is expected because element size of schema "common" is defined as:
        <xs:element name="size" type="xs:integer"/>

I think this is bug. Can you fix it?

I'm using Nuxeo 5.1.6.
--
Posted by "plamen" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2312#6218>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to