[
https://issues.apache.org/jira/browse/TAPESTRY-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571567#action_12571567
]
Robert Zeigler commented on TAPESTRY-1780:
------------------------------------------
I'm not sure I would call this issue "minor".
I've seen multiple users hit this issue now, on a variety of forms where they
end up trying to refresh the data and things break.
I like Dan.s idea of redirecting to the owning page. Maybe form could add the
check for null form data, and if it's null, add a message to the set of form
errors, something regarding "form was submitted without data" and then kick
back to the owning page. That would at least get the user back to teh form
they were originally trying to submit, in a "responsible" state, with some
informative message, rather than the app just blowing up.
> 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
>
> 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]