You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where linking objects go up the ownership chain of their parents, no the child ,which now has a populated ownership chain. The way this is written, it just tries to create a snapshot for MyPhotoPage, which is empty as it is the top of the chain.
I'm sure it was written this way for a reason -- probably for objects one level deeper?
But either way, this is a really common use case and it's broken.
The text was updated successfully, but these errors were encountered:
When I revert back to the first published version, the title is reverted but the bar tag isn’t removed. Is this issue why that doesn’t happen? Just wanted to check before I open an issue 😅
Steps to reproduce
Cause
There are two orphaned snapshots that are created here:
MyPhotoPageImageLink
created). This should be populated.The latter snapshot is empty due to this line:
https://github.com/silverstripe/silverstripe-versioned-snapshots/blob/master/src/SnapshotPublishable.php#L645
where linking objects go up the ownership chain of their parents, no the child ,which now has a populated ownership chain. The way this is written, it just tries to create a snapshot for
MyPhotoPage
, which is empty as it is the top of the chain.I'm sure it was written this way for a reason -- probably for objects one level deeper?
But either way, this is a really common use case and it's broken.
The text was updated successfully, but these errors were encountered: