You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bernhard Huemer (JIRA)" <de...@myfaces.apache.org> on 2007/08/11 10:19:43 UTC

[jira] Created: (MYFACES-1703) f:setPropertyActionListener causes wrongful AbortProcessingException

f:setPropertyActionListener causes wrongful AbortProcessingException
--------------------------------------------------------------------

                 Key: MYFACES-1703
                 URL: https://issues.apache.org/jira/browse/MYFACES-1703
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions:  1.2.0, 1.2.1-SNAPSHOT
            Reporter: Bernhard Huemer
            Priority: Critical


During the Invoke Application phase, a SetPropertyActionListener always throws an AbortProcessingException claiming that the target has not been set, but that's just because the methode restoreState is incorrectly implemented. It creates a new array rather than cast the given state. I'll attach a sample web application reproducing this error and the corresponding patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MYFACES-1703) f:setPropertyActionListener causes wrongful AbortProcessingException

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Marinschek resolved MYFACES-1703.
----------------------------------------

    Resolution: Fixed

> f:setPropertyActionListener causes wrongful AbortProcessingException
> --------------------------------------------------------------------
>
>                 Key: MYFACES-1703
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1703
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0, 1.2.1-SNAPSHOT
>            Reporter: Bernhard Huemer
>            Assignee: Martin Marinschek
>            Priority: Critical
>         Attachments: demo.zip, MYFACES-1703.patch
>
>
> During the Invoke Application phase a SetPropertyActionListener always throws an AbortProcessingException claiming that the target has not been set, but that's just because the methode restoreState is incorrectly implemented. It creates a new array rather than cast the given state. I'll attach a sample web application reproducing this error and the corresponding patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MYFACES-1703) f:setPropertyActionListener causes wrongful AbortProcessingException

Posted by "Bernhard Huemer (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernhard Huemer updated MYFACES-1703:
-------------------------------------

    Status: Patch Available  (was: Open)

> f:setPropertyActionListener causes wrongful AbortProcessingException
> --------------------------------------------------------------------
>
>                 Key: MYFACES-1703
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1703
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0, 1.2.1-SNAPSHOT
>            Reporter: Bernhard Huemer
>            Priority: Critical
>         Attachments: demo.zip, MYFACES-1703.patch
>
>
> During the Invoke Application phase a SetPropertyActionListener always throws an AbortProcessingException claiming that the target has not been set, but that's just because the methode restoreState is incorrectly implemented. It creates a new array rather than cast the given state. I'll attach a sample web application reproducing this error and the corresponding patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1703) f:setPropertyActionListener causes wrongful AbortProcessingException

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519299 ] 

Martin Marinschek commented on MYFACES-1703:
--------------------------------------------

Thanks Bernhard. Good catch - Google SoC pays off again ;)

regards,

Martin

> f:setPropertyActionListener causes wrongful AbortProcessingException
> --------------------------------------------------------------------
>
>                 Key: MYFACES-1703
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1703
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0, 1.2.1-SNAPSHOT
>            Reporter: Bernhard Huemer
>            Assignee: Martin Marinschek
>            Priority: Critical
>         Attachments: demo.zip, MYFACES-1703.patch
>
>
> During the Invoke Application phase a SetPropertyActionListener always throws an AbortProcessingException claiming that the target has not been set, but that's just because the methode restoreState is incorrectly implemented. It creates a new array rather than cast the given state. I'll attach a sample web application reproducing this error and the corresponding patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.