[ABTEST-249] Refresh the goal value in case original page changes Created: 03/Jul/20  Updated: 17/Sep/20  Resolved: 11/Sep/20

Status: Closed
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Improvement Priority: Neutral
Reporter: Andrei Ichimescu Assignee: Nguyen Phung Chi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1.5d
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Date of First Response:
Epic Link: ABTEST MVP
Sprint: Add-Ons 46
Story Points: 3

 Description   

When the original page changes, the goal value needs to be refreshed as well.

  • We clear the value of the goal
  • Show warning notification "The click target you set in the Goals tab has been cleared because the original page has changed." after changing the original page

 

Dev Notes:
original page changes can be detected in info.magnolia.abtesting.ui.factory.OriginalPageFieldFactory#updateOriginalPageContext
Please be aware that updateOriginalPageContext is also triggered in the initialisation phase



 Comments   
Comment by Julie Legendre [ 10/Sep/20 ]

Hi ldelnevo, sorry for taking so long and thanks for the helpful video nguyen.phung .  I suggest the message be: 

{{The click target you set in the Goals tab has been cleared because the original page has changed. }}

Generated at Sun Feb 11 22:54:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.