Skip to content

Cannot create auto_update reference with deleted latest revision #67

@das-Abroxas

Description

@das-Abroxas

Describe the bug

An object reference with auto_update == true can only be created on the latest revision of an object. If the objects' latest revision is already deleted via force you can't create an auto_update reference anymore without updating the object beforehand.

To Reproduce

Steps to reproduce the behavior:

  1. Create an object with at least two revisions.
  2. Create a auto_update == false reference on a revision which is not the latest
  3. Delete the latest revision with force == true
  4. Try to create a auto_update == true reference on the latest revision below the deleted

Expected behavior

The latest revision of an object should be the newest revision which is not already deleted.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions