Skip to content

Version author gets overwritten with wrong uid #39672

@JammingBen

Description

@JammingBen

Steps to reproduce

  1. Set file_storage.save_version_author to true
  2. Create a file "test.txt" as admin user
  3. Share the file with "user01"
  4. As "user01", edit this file -> The current author is "user01", the author of the first version is "admin" -> all good!
  5. As "user01", roll back the first version -> current author is "admin" (good!), however, the author of the first version is now "admin" as well (bad!)

Expected behaviour

The version author should be "user01"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions