Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Mentioned TAP5-2066

...

  • Bots crawling your site
  • Web browser auto-complete functions trying to be helpful
  • Users with browser developer tools manually modifying the form from a POST to a GET to see what will happen.
  • Users getting a validation error on a form, then re-submitting the form by clicking in the URL address field and hitting Enter.
  • In Tapestry versions before 5.4, (rarely) the use of property names for form fields where the property name matches a JavaScript property (see TAP5-2066).

In every known scenario except the last, these errors are harmless and you probably want to redirect the user to the page the form is on – and avoid logging an error. That's not too hard to do. Just add code like the following to your module class (usually AppModule.java):

...