[LIVECOPY-336] Pushing changes to copies doesn't perform relinks correctly Created: 26/Aug/22  Updated: 03/Oct/22  Resolved: 29/Sep/22

Status: Closed
Project: Live Copy
Component/s: None
Affects Version/s: 3.2.9
Fix Version/s: 3.2.10

Type: Bug Priority: Neutral
Reporter: Roberto Gaona Assignee: Jesus Alonso
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: 0d Remaining Estimate: 0d
Σ Time Spent: 1h 35m Time Spent: 1h 35m
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File image-2022-08-26-10-28-33-932.png     PNG File image-2022-08-26-10-28-42-932.png     PNG File image-2022-09-09-16-14-58-543.png     PNG File image-2022-09-09-16-19-30-434.png     Zip Archive livecopyModuleTest.zip    
Issue Links:
Problem/Incident
Sub-Tasks:
Key
Summary
Type
Status
Assignee
LIVECOPY-341 QA Sub-task Completed Thuy To  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: AuthorX Support
Sprint: AuthX 18
Story Points: 1
Team: AuthorX

 Description   

Steps to reproduce

Create FTL & YAML:

  1. Create tenant page template "brand"
  2. Create rootpage template "brandroot" with dialog property
  • name: checkoutPage
       label: dialog.tabLink.checkoutPage.label
       $type: pageLinkField
  1. create subpage template "subpage"

All this templates are available on the attached module.

Create pages in Pages App:

Create a page structure such this:

Open "home_master" properties and link subpage "checkout" in dialog field 'checkoutPage'

Make live copies:

  1. Make a new livecopy of home_master disabling automatic relink
  2. Repeat the process a few times
  3. Rename the live copies to something like  home_1, home_2, home_3, etc.
  4. Move the new live copies into riedel page (so they are all at the same level than "home_master")
  5. Ensure the link in the copies still points to /riedel/home_master/checkout

You should now have something like this:

Now select any copy and execute "Relink all pages ..." action. Unfortunately the link generated are incorrect.

Expected results

Every copy's links get updated to point towards their own specific path.

Actual results

All copies get their links pointed towards one specific copy's path instead of having each their own.

Workaround

Development notes


Generated at Mon Feb 12 02:27:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.