[DEFECT] Unhandled error when opening locked Menu Link.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Problem Statement
When opening a locked menu link on a user that did not lock menu link provides the following error.
An unexpected system error occurred. com.dotcms.repackage.javax.portlet.PortletException
https://dotcms.freshdesk.com/a/tickets/34320
Steps to Reproduce
https://github.com/user-attachments/assets/ecd5bae1-b334-4d30-9546-bf4f7a7f574d
In an environment with demo data.
- Go to the Browser Portlet.
- Select the + button.
- Select Menu Link
- Generate a test Menu Link
- Click Save And Publish
- Edit the newly created Menu Link
- Go back to the Browser portlet using the menu instead of clicking Cancel, Save and Publish or Save.
- Sign in as a different user
- Try editting the locked Menu link.
Acceptance Criteria
Either of the two options.
- Remove the lock when navigating away from the Menu link edit screen in any fashion.
- Improve the error screen mentioning that the menu link is locked
dotCMS Version
25.11.20-01
Severity
Medium - Some functionality impacted
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Browser Portlet and reproduce the locked Menu Link flow using the listed steps, including navigating away and signing in as another user. Trace where the PortletException reaches the error screen. Done means either leaving the edit screen releases the lock or the error clearly tells users that the Menu Link is locked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100