-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 9.10
-
Fix Version/s: HOTFIX_9.10, HOTFIX_10.10, 2021.x, 11.x
-
Component/s: Core
Since NXP-21025/NXP-18555, it is known that common:size is replaced with file:content/length and file:filename is replaced with file:content/name
The interface http://community.nuxeo.com/api/nuxeo/11.1/javadoc/src-html/org/nuxeo/ecm/core/api/DocumentModel.html#line.533 does not declare isDownloadable() as deprecated, thus a usable implementation is needed.
Thus, the code http://community.nuxeo.com/api/nuxeo/9.10/javadoc/src-html/org/nuxeo/ecm/core/api/impl/DocumentModelImpl.html#line.799 is not appropriate anymore
Current implementation leads to the error message:
Property 'size' is marked as removed from 'common' schema, don't use it anymore.
Expected result: no error and a working method returning a boolean value, per interface.