You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (Created) (JIRA)" <ji...@apache.org> on 2012/01/12 22:25:49 UTC

[jira] [Created] (TAP5-1820) Default Exception Report Page should have a link to discard component class loader and retry

Default Exception Report Page should have a link to discard component class loader and retry
--------------------------------------------------------------------------------------------

                 Key: TAP5-1820
                 URL: https://issues.apache.org/jira/browse/TAP5-1820
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.3, 5.4
            Reporter: Howard M. Lewis Ship


Sometimes you attempt to reach a page, but it doesn't exist because of a syntax error.

Even after you create the page and reload, Tapestry may not pick up the change because it is not monitoring the directory containing the .class file, because it didn't successfully load a file from that directory.

It would be nice if the exception report page included a link to discard the class loader, forcing a reload of the page(s) for the request, and would then redirect back to the page (or event request) that failed.

Caveats:
- Different handling for an Ajax request, where the class loader should be discarded, and a response returned that will dismiss the exception report iframe.
- POST requests may be tricky.
- The link should only appear if the request is white-listed (by default, from localhost).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira