Using <bx:output> inside of <bx:catch> causes bxCatch scope to disappear

Description

This works perfectly (but doesn't display the message obviously)
<bx:try>
<bx:include template="#p#.bxm">
<bx:catch type="any">
#bxCatch.message#
<bx:dump var="#bxCatch#" />
</bx:catch>
</bx:try>


However, adding the <bx:output></bx:output> around the message
<bx:try>
<bx:include template="#p#.bxm">
<bx:catch type="any">
<bx:output>#bxCatch.message#</bx:output>
<bx:dump var="#bxCatch#" />
</bx:catch>
</bx:try>causes an The requested key [bxCatch] was not located in any scope or it's undefined

Attachments

2

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created January 6, 2025 at 5:22 PM
Updated January 11, 2025 at 5:39 AM
Resolved January 11, 2025 at 5:39 AM