Better virtualUriMapping registration handling
----------------------------------------------

                 Key: MAGNOLIA-3515
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3515
             Project: Magnolia
          Issue Type: Improvement
          Components: content2bean, core
            Reporter: Grégory Joseph
            Assignee: Ondřej Chytil
             Fix For: 4.4.x, 5.0


With MAGNOLIA-3285, we fixed the virtual uri registration so that a 
mis-configured node would still be wrongly transformed into a {{Map}}, by 
catching {{ClassCastException}}s while iterating through mappings. Such 
mis-configured nodes should simply not be added to the list of mappings. This 
would allow using generics, too (if we used generics without fixing this first, 
we'd get {{ClassCastException}}s when attempting to add mis-configured mappings 
to the {{info.magnolia.cms.beans.config.VirtualURIManager#cachedURImapping}} 
list)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to