Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interaction Write Lava Command Writing Wrong Component #4602

Closed
1 task done
radams22 opened this issue Feb 17, 2021 · 0 comments
Closed
1 task done

Interaction Write Lava Command Writing Wrong Component #4602

radams22 opened this issue Feb 17, 2021 · 0 comments
Labels
Fixed in v14.0 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Topic: Lava Related to the Lava templating language. Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Milestone

Comments

@radams22
Copy link

radams22 commented Feb 17, 2021

Prerequisites

Description

The InteractionWrite Lava command is writing interactions to the wrong component.

Steps to Reproduce

  1. Use InteractionWrite Lava Command to Create a New Channel
    Sample Lava:
    {% interactionwrite channeltypemediumvalueid:'668' channelname:'Some Channel' componentname:'Some Component' operation:'View' summary:'Viewed Some Page' %}findme-interactiontest {% endinteractionwrite %}

sms-reply-create-channel

View New Channel Created
new-channel-created

View Interaction Created
interaction-created

  1. Update InteractionWrite Lava to Write Multiple Interactions with At Least One Command Writing to the New Channel
    Sample Lava:
    {% interactionwrite channeltypemediumvalueid:'668' channelname:'Some Channel' componentname:'Some Component' operation:'View' summary:'Viewed Some Page' %}findme-interactiontest1 {% endinteractionwrite %} {% interactionwrite channeltypemediumvalueid:'668' channelname:'Configuration Landing' componentname:'Test Component' operation:'View' summary:'Viewed Some Page' %}findme-interactiontest2 {% endinteractionwrite %} {% interactionwrite channeltypemediumvalueid:'668' channelname:'Configuration Landing' componentname:'Some Component' operation:'View' summary:'Viewed Some Page' %}findme-interactiontest3 {% endinteractionwrite %}

updated-interactionwrite-lava

View Interactions Created
old-channel-new-interactions

Expected behavior:

In the sample lava, we are creating new channels and components. The expected behavior is that a new channel called, "Configuration Landing" would be created in addition to an interaction being written to the "Some Channel" channel and "Some Component" component.

Actual behavior:

In the sample lava, we are creating new channels and components, however these new channels and components are being added to "Configration Landing" channel and "Test Component" component. These interactions are being added to the previously created channel and component.

Versions

  • Rock Version: v13.0
  • Client Culture Setting: en-us

Issue_Bug-Report_InteractonWrite-Lava-Command-Writing-Wrong-Component.docx

@nairdo nairdo added Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Topic: Lava Related to the Lava templating language. Type: Bug Confirmed bugs or reports that are very likely to be bugs. labels Feb 26, 2021
MrUpsideDown added a commit that referenced this issue Feb 21, 2022
…el and component when specified by name. (Fixes #4602)
@crayzd92 crayzd92 added this to the v14 milestone Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in v14.0 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Topic: Lava Related to the Lava templating language. Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Projects
None yet
Development

No branches or pull requests

4 participants