Make property retrieval safer when resolving property values using freemarker 
rendering
---------------------------------------------------------------------------------------

                 Key: NXP-4070
                 URL: http://jira.nuxeo.org/browse/NXP-4070
             Project: Nuxeo Enterprise Platform
          Issue Type: Improvement
    Affects Versions: 5.2 GA
            Reporter: Anahide Tchertchian
            Assignee: Thierry Delprat
             Fix For: 5.2.1


Using ${doc['schema:field']} in a freemarker template will produce a page crash 
if the given schema or field do not exist on the document.
It would be better to just issue a warning log so that it's easier to write 
templates like, for instance, a table of documents where all documents do not 
share the same schemas.
It would also be more consistent with the JSF behaviour.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://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

Reply via email to