Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1376

can't find page if template has parse error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.2
    • Component/s: Core Components
    • Labels:
      None
    • Environment:
      any

      Description

      When returning an injected Page instance from a listener method (injected via @InjectPage ) - if the page has a template parse error the exception page just say "PageNotFound" instead of reporting the found but failed to parse template....The .page definition that created this condition looked like(the disabled attribute element isn't closed):

      <component id="deviceType" type="PropertySelection">
      <binding name="model" value="ognl:deviceTypeSelectionModel"/>
      <binding name="value" value="ognl:value.deviceType"/>
      <binding name="validators" value="validators:required[%invalid-required]"/>
      <binding name="displayName" value="message:field-label-device-type"/>
      <binding name="disabled" value="literal:true"
      </component>

        Activity

        Hide
        jkuhnert Jesse Kuhnert added a comment -

        Never mind....This was someone elses custom resolver swallowing exceptions,.

        Show
        jkuhnert Jesse Kuhnert added a comment - Never mind....This was someone elses custom resolver swallowing exceptions,.

          People

          • Assignee:
            jkuhnert Jesse Kuhnert
            Reporter:
            jkuhnert Jesse Kuhnert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development