Closed
Description
Describe the Bug
If you set a changelog on the first revision of a page, eg. "Test", this gets not respected and will be overwritten by "intitial revision".
I've found the hardcoded part in the /var/www/bookstack/app/Entities/Repos/PageRepo.php
on line 80.
Steps to Reproduce
- create a page and put in some content
- insert a changelog "Test"
- save the page
- review the revisions and you will see "initital revision"
Expected Behaviour
The revision should contain the given changelog if set.
if no changelog is set then the default would be fine.
Screenshots or Additional Context
Here I put in "Rollenbeschreibung erstellt" as a changelog, but it wasn't stored.
Browser Details
No response
Exact BookStack Version
24.02