percussion / percussioncms

Percussion CMS - Content Management System
https://percussioncmshelp.intsof.com/percussioncms
Apache License 2.0
11 stars 9 forks source link

Restoring a revision in quick edit state updates the "Last Modified" time on the original revision #891

Closed mariosm1 closed 12 months ago

mariosm1 commented 1 year ago

Describe the bug Restoring to a revision that was left in quick edit state successfully creates a new revision with the restored content, but updates the "Last Modified" time on the original revision.

45345345

This does not affect items in Live or Pending state

To Reproduce Steps to reproduce the behavior:

  1. Edit an item that has several revisions in the revision history
  2. Using the View->Revisions menu, try to restore to an older revision (in quick edit)
  3. The "Last Modified" time on the older revision has now been updated to match the latest revision

Expected behavior The Last Modified times on older revisions should not be updated.


flowchart TD
      A[Checkout Rev 5]  ---> B[Promote Revision 2 to 6] ---> C[Checkout Revision 6] ---> D[Revision 2 Should be Unchanged]
natechadwick commented 1 year ago

@rgarg24 Related doc: https://percussioncmshelp.intsof.com/percussion-cm1/manage-content/pages/page-revisions/

sonydeswal74 commented 1 year ago

Not Reproducing, It is working as expected.

sonydeswal74 commented 12 months ago

It is not working as expected when selected version for restore is in QuickEdit mode.