Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.3-milestone-1
-
Fix Version/s: 8.3-milestone-2, 7.4.5, 8.2.2
-
Component/s: Web - Templates & Resources
-
Labels:
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
Description
Example:
{{velocity}} #try() $services.query.xwql("zzzzz").execute() #end {{/velocity}}
Will generate an error macro with the text "Unexpected error. Contact your administrator or report the issue. Click this box to get technical details."
Attachments
Issue Links
- depends on
-
XCOMMONS-1056 Add ability to specify the name of the variable to store the exception into for the #try() directive
-
- Closed
-
- is related to
-
XWIKI-13728 Catching errors with #try generates an error when it shouldn't if you are logged in with a local user
-
- Closed
-