[ 
https://issues.apache.org/jira/browse/TAPESTRY-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531205
 ] 

Daniel Gredler commented on TAPESTRY-1780:
------------------------------------------

Any ideas on how this should be handled? It's easy enough to check for the 
condition and throw a TapestryException rather than a NPE, but that's not very 
user-friendly. As Janko says, this is easily reproduceable by doing a GET 
request on a form's action URL. My feeling is that this will happen enough in 
the real world, in deployed applications, that we need to redirect to the 
owning page or something. Thoughts?

> T5 Form component NPE if no FORM_DATA found
> -------------------------------------------
>
>                 Key: TAPESTRY-1780
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1780
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core Components
>    Affects Versions: 5.0.5
>            Reporter: Janko Muzykant
>            Priority: Minor
>             Fix For: 5.0.6
>
>
> if no FORM_DATA is found in a request, form component throws NPE in 
> onAction(..) handler. it's quite easy to reproduce, just hit the 
> http://my-webapp/mypage.form url.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to