Closed (duplicate)
Project:
Experience Builder
Version:
0.x-dev
Component:
Auto-save
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Mar 2025 at 14:51 UTC
Updated:
19 Jun 2025 at 20:45 UTC
Jump to comment: Most recent
Comments
Comment #2
tedbowComment #3
tedbowThis seems like a similar problem space to #3506467: Make Media Library widget work from "page data" (content entity form) because that is changing on the way
entity_form_fieldsis setComment #4
tedbowComment #6
tedbowSo far all I have done in the merge request is bring over my attempts in #3509509: When adding single hero component Auto-save shows a change when there is not one to try to make
entity_form_fieldsnot show a difference after entity is published and there no additional changes. That was before I split that problem in to this issueThe current changes do reduced number of changes in
entity_form_fieldsbut didn't eliminate themComment #7
tedbowI did some further manual testing.
it seems that with the current MR and the standard profile the parts of
entity_form_fieldsthat still change are field_tags and field_image, both entity reference fields.So I
In the MR there doesn't result in "review 1 change" but 0.x does
In 0.x the difference between the call from
AutoSaveManager::recordInitialClientSideRepresentationandAutoSaveManager::saveis in save() there are 2 extra items underentity_form_fields,advanced__active_tabandrevisionComment #8
larowlan#3513317: ImageItem::defaultStorageSettings() should override display_default is the core bug
Comment #9
wim leersReviewed & RTBC'd the core issue.
Comment #10
tedbowObviously we need tests because nothing is failing now because of this. Also should be stable blocker
I wonder if we want a more complex e2e test where we start with no media item select a media item and then remove it again. This should return to the start state and not show a change but I wonder if it actually would. Though I think that would be follow-up because getting that done with reliable(won't fail randomly) e2e test might tricky.
Comment #11
larowlanWithout the core fix or a workaround tests fail in the media library branch - exactly as we'd expect them to. So this may end up being solved by #3506467: Make Media Library widget work from "page data" (content entity form)
Comment #12
larowlanPostponing on that issue
Comment #13
wim leers#3506467: Make Media Library widget work from "page data" (content entity form) landed.
Comment #14
wim leersFYI: thanks to @longwave, #3513317: ImageItem::defaultStorageSettings() should override display_default already landed in core, but it hasn't shipped in a release yet.
Comment #15
tedbowI think #3506467: Make Media Library widget work from "page data" (content entity form) caused #3515870: Node author changes to anonymous on publish. Think we need to postpone on that because it changes the entity fields and will always show a change after publish
Comment #16
wim leersIs this still relevant?
Comment #17
wim leersIf it is, this sounds like a beta blocker because it'd drive any user insane.
Comment #18
mayur-sose commentedThere are two scenarios mentioned in the issue description, but only one is currently reproducible. Below is the scenario that reproduces the issue:
Steps to reproduce:
This suggests that reverted changes are not being properly cleared from the change tracking logic.
Comment #19
mayur-sose commentedComment #20
penyaskitoIn that edge-case, I'd assume there is a change: the updated timestamp.
Not sure how we would like to handle it, but IMHO works as expected.
Comment #21
lauriiiI don't think this is a beta or stable blocker but would be a good to prioritize this with other non-blocking bugs.
Comment #22
wim leersIs this not a duplicate of #3529622: Make auto-save manager only support passing and returning entity objects, remove support for arbitrary data, use deterministic hashing to ensure entries are actually updates?
Comment #24
larowlanAgreed