myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Starets (JIRA)" <>
Subject [jira] [Created] (TRINIDAD-2369) Mojarra 2.1.18 partial state saving incompatibility when moving a facet
Date Thu, 28 Feb 2013 21:13:13 GMT
Max Starets created TRINIDAD-2369:

             Summary: Mojarra 2.1.18 partial state saving incompatibility when moving a facet
                 Key: TRINIDAD-2369
             Project: MyFaces Trinidad
          Issue Type: Bug
         Environment: Mojarra 2.1.18
            Reporter: Max Starets

To reproduce the issue, create a test application doing the following during invoke_application:

1) Move a component to be a facet of some other component:
newParent.getFacets().put("center", component1);
2) Move the component to its original parent:

Note that the following exception will be thrown by Mojarra:

javax.faces.FacesException: Cannot add the same component twice: o1
	at com.sun.faces.context.StateContext$AddRemoveListener.handleAddRemoveWithAutoPrune(
	at com.sun.faces.context.StateContext$AddRemoveListener.handleAdd(
	at com.sun.faces.context.StateContext$AddRemoveListener.processEvent(
	at javax.faces.event.SystemEvent.processListener(
	at com.sun.faces.application.ApplicationImpl.processListenersAccountingForAdds(
	at com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(
	at com.sun.faces.application.ApplicationImpl.publishEvent(
	at org.apache.myfaces.trinidad.component.UIXComponentBase._publishPostAddToViewEvent(
	at org.apache.myfaces.trinidad.component.UIXComponentBase.setParent(
	at org.apache.myfaces.trinidad.component.ChildArrayList.add(
	at org.apache.myfaces.trinidad.component.ChildArrayList.add(
	at org.apache.myfaces.trinidad.component.ChildArrayList.add(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message