[DEFECT] DOT_FEATURE_FLAG_UVE_TOGGLE_LOCK Causing pages to be completely uneditable.
Problem Statement
When using the new DOT_FEATURE_FLAG_UVE_TOGGLE_LOCK, the "Unlocked" state, correctly prevents users from changing the page. However, when "Locked" it also prevents users from being able to add or edit content on the page, causing neither state to work.
https://dotcms.freshdesk.com/a/tickets/34933 https://dotcms.freshdesk.com/a/tickets/34930
Steps to Reproduce
https://github.com/user-attachments/assets/55192755-d3a7-49f5-9ab7-322e3c64e902
- In an environment running demo data on the latest dotCMS version.
- Go to Maintenance Portlet
- System Info tab
- Scroll to the bottom and add DOT_FEATURE_FLAG_UVE_TOGGLE_LOCK to the config overrides with the value set to True
- Go to the Browser portlet
- Open the main index page.
- You'll be able to observe the issue here by clicking on the "Unlocked" button.
Acceptance Criteria
When a page is locked with this feature flag enabled, it should allow adding, editing and removing of content from the page.
dotCMS Version
Current Evergreen 26.01.05-01
Severity
High - Major functionality broken
We added this feature flag for MSU in the past to provide them a way of bringing back the auto lock on edit feature that existed before the UVE, when they would click "Edit" on the old UI, it would lock the page to just that person and prevent additional users from editing the page. This is a critical feature for them. I'll look for the previous ticket where we enabled this, but I have a call in 10 minutes so I may not get it until after.
Previous issues
https://github.com/dotCMS/core/issues/33592 https://dotcms.freshdesk.com/a/tickets/33451
PRs linked to this issue
Passed QA
- dotCMS docker image: [
dotcms/dotcms:trunk]
Video
https://github.com/user-attachments/assets/2b531857-b3bf-4de4-b8b3-4eb9ae5e201e