[
http://jira.nuxeo.org/browse/NXP-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39681#action_39681
]
Anahide Tchertchian commented on NXP-2570:
------------------------------------------
phase listener double registration is fixed by hacking the jsf life cycle
factory and performing a duplication check on class name.
It would be good to know if it's a sun-ri bug (in case the fix is not such a
hack) or if faces-config.xml files found in server/default/tmp should be
ignored anyway (in case it's a bug... where ?)
an error log remains at deployment (the second SeamPhaseListener instance being
created before the life cycle can ignore its registration):
WARN [org.jboss.seam.jsf.SeamPhaseListener] There should only be one Seam
phase listener per application
> Fix jsf issues
> ---------------
>
> Key: NXP-2570
> URL: http://jira.nuxeo.org/browse/NXP-2570
> Project: Nuxeo Enterprise Platform
> Issue Type: Sub-task
> Affects Versions: 5.2 M2
> Reporter: Anahide Tchertchian
> Assignee: Anahide Tchertchian
> Fix For: 5.2 M3
>
>
> Some issues are raised when sun ri jsf implementation is used without any
> myfaces library around:
> - the default encoding is "application/xhtml+xml" instead of "text/html"
> because we're taking the sun ri default encoding now that trinidad is not the
> default render kit.
> - the sun ri render kit may not behave the same than trinidad's
> (responseWriter.writeText can raise a NullPointerException when writing a
> null text, for instance)
> - phase listeners may be registered twice : sun ri implementation differences
> between 1.2_04 and 1.2_09 has changed, and duplicate phase listeners are not
> filtered by name anymore (only by listener instance equality) =>
> SeamPhaseListener is registered twice on the same life cycle (and others too)
--
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