[MGNLSYNC-59] LastActivated property is updated when synchronising Created: 22/Nov/21  Updated: 20/Jul/22  Resolved: 01/Dec/21

Status: Closed
Project: Magnolia Synchronization Module
Component/s: None
Affects Version/s: 1.9.2
Fix Version/s: 2.0

Type: Bug Priority: Neutral
Reporter: Jonathan Ayala Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 0.25d
Original Estimate: Not Specified

Issue Links:
causality
dependency
depends upon PUBLISHING-133 Introduce flag to make update of meta... Closed
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
Release notes required:
Yes
Date of First Response:
Epic Link: Nucleus Quality Maintenance
Sprint: Global Maintenance 2
Story Points: 5
Team: Nucleus

 Description   

Steps to reproduce

  1.  Create three pages A,B,C in author
  2. Publish them in order waiting one minute among publications
  3. Remove them manually from the public instance
  4. Synchronize with the synchronisation app setting workspace = website, absolute path = / , fromDate = publication date of page B

Expected results

As a result of synchronization, B and C are transferred to the synchronised instance as expected.

Actual results

Everything already published in author is synchronised

Development notes

This is happening because mgnl:lastActivated property is updated when the first synchronization occurs which leads to synchronising everything again in step 4 as the fromDate is earlier than all the mgnl:lastActivated properties of the already synchronised content.


Generated at Mon Feb 12 07:39:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.