Make url service skip some codecs when decoding posts
-----------------------------------------------------
Key: NXP-5672
URL: https://jira.nuxeo.org/browse/NXP-5672
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Affects Versions: 5.3.2
Reporter: Anahide Tchertchian
Assignee: Anahide Tchertchian
Fix For: 5.4
The url service iterates over defined codecs when given a request without a
defined codec name. This is a problem on post request, where some codecs will
apply instead of letting the others apply.
This can be controled by redefining the method
DocumentViewCodec#handleDocumentView and make it return false in some cases.
But this prevents calling the DocumentViewCodecService to generate the url from
a DocumentView.
=> change the logic in both methods for consistency.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets