Tapestry
  1. Tapestry
  2. TAPESTRY-931

Template parsing fails on javascript.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.1
    • Component/s: Framework
    • Labels:
      None

      Description

      During the conversion of our project from Tapestry 3 to Tapestry 4, I've had several HTML files fail parsing because of embedded Javascript. I've worked around the problem by moving the javascript to a .Script file and using the @Script component to include it. The pages in question worked fine on Tapestry 3. I've attached the template HTML file that failed the parsing as well as the output of the Exception page.

      1. 454RegisterRunRegion.html
        3 kB
        Erik Husby
      2. Internal Page Error.html
        164 kB
        Erik Husby

        Activity

        Hide
        Jesse Kuhnert added a comment -

        I'll re-open if more information can be had, but this javascript works for me currently. The exception page you attached didn't list any of the standard line precise error reporting exceptions.

        Show
        Jesse Kuhnert added a comment - I'll re-open if more information can be had, but this javascript works for me currently. The exception page you attached didn't list any of the standard line precise error reporting exceptions.
        Hide
        Erik Husby added a comment -

        The file 454RegisterRunRegion.html is the template that fails the parse. The Internal Page Error file is the exception as captured by our exception page.

        Show
        Erik Husby added a comment - The file 454RegisterRunRegion.html is the template that fails the parse. The Internal Page Error file is the exception as captured by our exception page.

          People

          • Assignee:
            Unassigned
            Reporter:
            Erik Husby
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development