core icon indicating copy to clipboard operation
core copied to clipboard

[DEFECT] DOT_FEATURE_FLAG_UVE_TOGGLE_LOCK Causing pages to be completely uneditable.

Open nathan-hildebrandt opened this issue 10 months ago • 3 comments

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

  1. In an environment running demo data on the latest dotCMS version.
  2. Go to Maintenance Portlet
  3. System Info tab
  4. Scroll to the bottom and add DOT_FEATURE_FLAG_UVE_TOGGLE_LOCK to the config overrides with the value set to True
  5. Go to the Browser portlet
  6. Open the main index page.
  7. 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

nathan-hildebrandt avatar Jan 08 '26 16:01 nathan-hildebrandt

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

Neehakethi avatar Jan 08 '26 16:01 Neehakethi

Passed QA

  • dotCMS docker image: [dotcms/dotcms:trunk]

Video

https://github.com/user-attachments/assets/2b531857-b3bf-4de4-b8b3-4eb9ae5e201e

ihoffmann-dot avatar Jan 09 '26 20:01 ihoffmann-dot