[richfaces-issues] [JBoss JIRA] (RF-10967) Drag'n'Drop does not work with PARTIAL_STATE_SAVING FALSE

Tomasz Kurpios (JIRA) jira-events at lists.jboss.org
Fri Jun 1 09:00:22 EDT 2012


    [ https://issues.jboss.org/browse/RF-10967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698015#comment-12698015 ] 

Tomasz Kurpios commented on RF-10967:
-------------------------------------

In my case partial state saving is enabled and I still get a NPE in the same place. I think the reason is that {{MethodExpressionDropListener}} does not implement {{StateHolder}} interface.
                
> Drag'n'Drop does not work with PARTIAL_STATE_SAVING FALSE
> ---------------------------------------------------------
>
>                 Key: RF-10967
>                 URL: https://issues.jboss.org/browse/RF-10967
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-drag/drop
>    Affects Versions: 4.0.0.Final
>         Environment: tomcat 6.0.32
> RichFaces 4.0.0-Final 
>            Reporter: Stephan Meisinger
>              Labels: PARTIAL_STATE_SAVING
>             Fix For: 4.Future
>
>
> if partital state saving is off
>  <context-param>
>   <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
>   <param-value>false</param-value>
>  </context-param>
> droping of items does noth work and causes a NullPointerException
> 	at org.richfaces.event.MethodExpressionDropListener.processDrop(MethodExpressionDropListener.java:47)
> 	at org.richfaces.event.DropEvent.processListener(DropEvent.java:74)
> 	at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:777)
> 	at org.richfaces.component.AbstractDropTarget.broadcast(AbstractDropTarget.java:122)
> 	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
> 	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
> 	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
> ... 18 more
> imho MethodExpressionDropListener should be serializable, otherwise methodExpression can't be set by the SafeStateHolder.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list