Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1261

Tapestry adds event handlers not only to form components, but also to simple forms

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.4, 5.2.0
    • Fix Version/s: 5.2.1
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      After upgrading to Tapestry 5.2.0 I experienced an Javascript error upon submitting a form. It's a plain form defined in the template, not a Form component.

      The error is:
      tapestry.js, line 1462: 'undefined' is null or not an object

      This happened in IE8. It's reproducible with and without enabling IE7 compatible mode. A user on the mailing list suggested that he saw similar error messages in his FF console.

      I saw this for the forst time after upgrading to Tapestry 5.2.0.

      I would expect, Tapestry not interacting with a form in the template, as long as it's plain markup and not a form component.

        Attachments

          Activity

            People

            • Assignee:
              andyhot Andreas Andreou
              Reporter:
              ap@sapida.de Andy Pahne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: