Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(admin/revision): restore trash locked exception #1087

Conversation

Davidmattei
Copy link
Member

Q A
Bug fix? y
New feature? n
BC breaks? n
Deprecations? n
Fixed tickets? n
Documentation? n

Restoring a deleted revision throws a not locked exception. This only happens if the revision has also older revisions. Because for the current revision we call the lock before restoring it as a draft.

@Davidmattei Davidmattei merged commit 2db671b into ems-project:5.21 Dec 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants