Skip to content

Rock Entity Lava issues in Communication Entry Wizard preview and send #6679

@edwerd

Description

@edwerd

Description

Rock Entity Lava fails to execute correctly in the Communication Entry Wizard when using logical operators in where clauses. Specifically, && is being HTML encoded to && when a template is loaded into the editor or when added manually, which breaks Lava execution and causes preview and send errors.

Actual Behavior

The && operator is converted to && when the template is loaded into the editor
Lava execution fails during preview and or send
Error shown "The Lava command 'rockentity' is not configured for this template."

Expected Behavior

Logical operators such as && should remain unchanged when templates are loaded into the editor.
Rock Entity Lava should execute consistently during preview and send when enabled in block settings.
No manual correction should be required after loading a saved template.

Steps to Reproduce

  • Create an email template that uses Rock Entity Lava with a where clause containing &&.
  • Save the template.
  • Load the template in the Communication Entry Wizard.
  • Preview the email or attempt to send it.

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug is already reported.
  • Reproduced the problem on a fresh install or on the demo site.

Rock Version

Rock McKinley 17.6 (17.6.1)

Client Culture Setting

en-US

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions