- Issue created by @tostinni
- Status changed to Needs work
7 months ago 4:03am 9 September 2024 - π¦πΊAustralia mstrelan
Now we have π Allow ChangedItem to skip updating the entity's "changed" timestamp when synchronizing Fixed in 11.x let's focus on that as the API for this issue. I've put up an MR but it needs tests, and some way to hide it from earlier core versions.
- First commit to issue fork.
- Status changed to Needs review
7 months ago 2:23pm 12 September 2024 - πΊπ¦Ukraine sickness29
Added new test case to ViewsBulkEditActionTest to make sure new option is tested.
Also added changes to make this option work as isSyncing is not working for Drupal 10.3 - π¦πΊAustralia mstrelan
Thanks for updating this, it broke when I moved it from revision_information fieldset to a new additional fieldset.
I'm not sure the
bulk_edit_is_syncing
property is a good idea, especially since dynamic properties are deprecated now. I think the best bet is a version compare and just make this compatible with newer versions. Or I suppose we could use the DeprecationHelper class.Attaching a patch that I'll be using on a patched 10.3 site, but hiding it so as not to derail the issue.
- π¦πΊAustralia mstrelan
Turns out that using is_syncing from core leads to other issues, like the current revision being set to the new draft revision instead of the existing published revision. We're going with a different approach of using a separate field for last update date and allowing the changed date to be updated when bulk editing is done.