Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0-FINAL
-
None
Description
It would be helpful to have the profiler fallback to the parent folder of the requested path if it is no longer accessible.
Ex:
A user navigates to /a/b/c/123.psml. The user logs in and is redirected back to to /a/b/c/123.psml. However, the logged in user no longer has access to /a/b/c/123.psml. In the current 2.0-FINAL, an exception would be thrown ("org.apache.jetspeed.page.document.NodeNotFoundException: No page matched / request in site view."). Ideally, the profiler would try to fallback to the parent nodes (and its parents if necessary) default page. So it would try /a/b/c, then /a/b, etc.