PageRoute Lava Filter - throws exception if used in context of a System Communication #5818
Open
2 tasks done
Labels
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
Description
Trying to use the PageRoute filter to build a link inside of a system communication - it throws an exception when that communication is triggered: "Lava Error: Object reference not set to an instance of an object."
BUT ... strangely if that same system communication is sent via a workflow action instead - it doesn't throw the exception and the results are as desired.
Actual Behavior
Throws the exception: "Lava Error: Object reference not set to an instance of an object." whenever the PageRoute filter is used inside a system communication.
Expected Behavior
Should be able to use this filter inside the message body of a system communication to build desired link without an exception.
Steps to Reproduce
{{ 93 | PageRoute:'PersonId=1' }}
NOTE: You can put this code
{{ 93 | PageRoute:'PersonId=1' }}
into an HTML block on a page (or in lava tester) ... and you should get/person/1
output (or something similar)Issue Confirmation
Rock Version
1.16.2.1
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: