What went wrong?
When editing metadata, saving fails with an HTTP 400 error if a locked field is unlocked, changed, locked again, and then saved.
The only workaround is to save in two separate steps:
Unlock the field.
Change the field value.
Save.
Lock the field again.
Save again.
I cannot test whether this is a consequence of c32babb, or whether it can be fixed separately.
Steps to reproduce
- Open the metadata editor for a book.
- Choose a metadata field that is currently locked.
- Unlock the field.
- Change the field value.
- Lock the field again before saving.
- Click save.
Expected vs actual behavior
Expected behaviour:
It should be possible to unlock a metadata field, change its value, re-lock it, and save everything successfully in one save action.
Actual behaviour:
Saving fails with an HTTP 400 error when the field is changed and re-locked before saving. The change only works if the field is unlocked, changed, saved, then locked and saved again.
Your setup
BookOrbit version tag: 1.10.0
Deployment: docker
OS: Debian Trixie
Browser: Firefox 151.0.4
Relevant logs (optional)
Screenshots (optional)
No response
Before submitting
What went wrong?
When editing metadata, saving fails with an HTTP 400 error if a locked field is unlocked, changed, locked again, and then saved.
The only workaround is to save in two separate steps:
Unlock the field.
Change the field value.
Save.
Lock the field again.
Save again.
I cannot test whether this is a consequence of c32babb, or whether it can be fixed separately.
Steps to reproduce
Expected vs actual behavior
Expected behaviour:
It should be possible to unlock a metadata field, change its value, re-lock it, and save everything successfully in one save action.
Actual behaviour:
Saving fails with an HTTP 400 error when the field is changed and re-locked before saving. The change only works if the field is unlocked, changed, saved, then locked and saved again.
Your setup
BookOrbit version tag: 1.10.0
Deployment: docker
OS: Debian Trixie
Browser: Firefox 151.0.4
Relevant logs (optional)
Screenshots (optional)
No response
Before submitting