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.
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 anThe requested key [bxCatch] was not located in any scope or it's undefined