V8-archive: Revert saves full copy to directus_revisions, instead of just changed fields

Created on 2 Feb 2019  Â·  3Comments  Â·  Source: directus/v8-archive

Bug Report


Related to #1299.

Steps to Reproduce

On the demo (Directus Latest):

For an existing item:

  1. Go to 'Movies'
  2. Click on an item that can be reverted (if need be, do changes to it, save a few times and open it again)
  3. Click on 'Revert' on the right
  4. Click on 'Revert' on the modal

The behavior is the same for a new item that is reverted.

Expected Behavior

Only fields that changed should be displayed on the right for the latest change.

Actual Behavior

All fields are displayed on the right for the latest change.

Other Context & Screenshots

Technical Details

  • Device: Desktop
  • OS: Windows 7 x64
  • Browser: Firefox 65.0
  • Directus App: demo (Directus Latest)
  • Directus API: -
  • Install Method: -
enhancement

Most helpful comment

@benhaynes Not sure if it is related but today I had to truncate the directus_revisions table because its size was growing out of control.
image

All 3 comments

I know it is incorrect, but I'm going to call this an enhancement instead of a bug since nothing is actually broken. Thanks for reporting this @magikstm — we'll get it sorted asap (unless someone wants to give a PR a try first!).

@benhaynes Not sure if it is related but today I had to truncate the directus_revisions table because its size was growing out of control.
image

To achieve better clarity/visibility, we are now tracking feature requests within the Feature Request project board.

This issue being closed does not mean it's not being considered.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cdwmhcc picture cdwmhcc  Â·  3Comments

andgar2010 picture andgar2010  Â·  3Comments

gitlabisbetterthangithub picture gitlabisbetterthangithub  Â·  3Comments

vuhrmeister picture vuhrmeister  Â·  3Comments

Nitwel picture Nitwel  Â·  3Comments