[PAGES-569] Content is saved to wrong component Created: 23/Feb/22  Updated: 18/Oct/22  Resolved: 16/Mar/22

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: 6.2.17
Fix Version/s: 6.2.17

Type: Bug Priority: Major
Reporter: Mercedes Iruela Assignee: Jesus Alonso
Resolution: Fixed Votes: 2
Labels: authx
Remaining Estimate: 0d
Time Spent: 7.25h
Original Estimate: Not Specified

Attachments: File website.travel.test.yaml    
Issue Links:
Relates
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:
[X]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: AuthorX Support
Sprint: AuthorX 4, AuthorX 5
Story Points: 2
Team: AuthorX

 Description   

Steps to reproduce

  1. This issue happens when there are problems related to slow network (so you have to set your browser's development tools to Regular 3G or some similar setting) (I was able to reproduce it in Firefox + Network configured to Regular 3G)
  2. Creating a page on https://demoauthor.magnolia-cms.com/.magnolia/admincentral
    • I attach my testpage-export
  3. Edit the page and make some changes.
  4. Save
  5. Immediatly click the edit button on the second component (before the page is refreshed)
  6. Edit the page and make changes.
  7. Wait until the previous update has completely finished
  8. Save

Expected results

Both components are updated independently.

Actual results

First component is overwritten with the wrong content, the second one is untouched. The content of the first component is lost!

Workaround

Wait until the page is completely reloaded.

Development notes

It is true that it is difficult to reproduce.

The problem is more evident when the changed components are using the same template, in this case the content is overwritten (because properties names are the same). If different, the "new" properties are added to the component content.



 Comments   
Comment by Federico Grilli [ 16/Mar/22 ]

Reopening as apparently changes introduced with this ticket caused CE ITs to fail. Investigation is ongoing.

Comment by Jesus Alonso [ 17/Mar/22 ]

Closing the ticket again once the related pages tests are not failing anymore 

Generated at Mon Feb 12 06:20:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.