-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changeless actions corrupt audit history #330
Comments
@NightJar if you're project is using versioned-snapshots, I'm expecting you'd also be using |
Also, @NightJar what do you think the expected result should be here? I'm expecting it should be the following (in bold): ...
|
@brynwhyman sorry for the delay. ExpectationI expect the result to be that the Stage records Whether or not there is a new version record representing no changes is debatable. Versioned inherently has a major flaw in that it attempts to track both actions and edits. Adding a new version record would accurately track an action, but would also represent an edit where there was none. I'm of no opinion in this matter, although I suspect that the impact of adding unaltered version records would significantly impact an already extremely heavy table (given a larger site example). I think simply aborting the process is fine - if there were to be any outcome of this action I would probably recommend a notice to the user
Of course, phrased a better, and voiced less like the system is a surly conscious entity. RecreationSorry, this is me getting confused between many different versions and combinations of modules I've been dealing with lately. This issue exists on However, the draft content last edited timestamp is still updated although it reflects no changes. This in turn impacts both Silverstripe CMS 3 (which is out of support for this matter, but is evidence to the historic nature of this issue), and Silverstripe CMS 4 with versioned snapshots (& versioned snapshot admin), as this newer system appears to read the data from that location as CMS 3 did.
|
This seems to be an issue with Seems unlikely that we could update the change level. That would be an API change, and who knows what else it would break. Seems like a better option is to get snapshot-admin to work more like versioned-admin? |
Hi, @NightJar -- Keen to test out this fix? silverstripe/silverstripe-versioned-snapshots#46 |
Upon publishing a page the "last edited" information is updated, even when no new version is created because no edits have taken place.
Reproduce:
Check database and see draft table "Last Edited" timestamp change, where live table and versions table for the same record & version do no have this field altered.
This holds true for CMS 3 and CMS 4 with versioned snapshots (admin).
Untested: CMS 4 without versioned snapshots
The text was updated successfully, but these errors were encountered: