Problem/Motivation

When i first add a piece of media , the revision tab shows the current revision and the same one underneath with the option to revert. If i then edit the media, the revision tab shows three items, the last revision and the first one twice.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

dianacastillo created an issue. See original summary.

nmatja’s picture

StatusFileSize
new59.83 KB

Hi, while testing all the revisions were created as expected please find attached image. I made 3 changes to the media content, adding custom revision comments.
I was not able to replicate the error. Can you please provide additional steps or information?

dianacastillo’s picture

StatusFileSize
new104.52 KB

when i create the content at first it has two rows created . image attached
and in the database its created twice as well

dianacastillo’s picture

StatusFileSize
new258.86 KB
dianacastillo’s picture

I narrowed this down to being something that is created when i add a group with the groupmedia module . when i dont add a group there is only one revision initially . this is my issue in there https://www.drupal.org/project/groupmedia/issues/3308946

bcizej’s picture

Status: Active » Closed (works as designed)

Hi @dianacastillo, this module does not perform save operations on its own ie. through hooks/event subscribers. Only if you use the revert revision operation through UI.

So if there are incorrect number of revisions, there must be, as you figured it out, another module that is causing save operations and creating revisions.