dotCMS / dotCMS/core

Delete Locale UI Messaging incorrect.

Open
#32,648 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OKR : Customer Support Priority : 4 Low Team : Maintenance Type : Defect
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

In the current release, the current messaging when deleting a locale says "This action will permanently remove the selected locale and all associated content items from your site."

However, when using this function it provides an error, and in the logs it shows that the error is that there are still contentlets with this locale attached.

Steps to Reproduce
  1. On a local instance using the demo starter
  2. Go to the locales portlet and add a new locale
  3. Go to any piece of content and add a version of it for that new locale
  4. Go back to the locales portlet
  5. Try to delete the newly created locale.

https://github.com/user-attachments/assets/604ed2e0-f748-4664-9cab-9c2ca9126354

Acceptance Criteria

Change the wording in the UI to reflect the fact that we require there to be 0 instances of the locale on any contentlet before you can delete this locale.

dotCMS Version

25.07.09-1
Current release.

Proposed Objective

Customer Support

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://dotcms.freshdesk.com/a/tickets/32129

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the locales portlet at the confirmation message shown when deleting a locale, then reproduce the documented steps with a locale attached to a contentlet. Done means the UI clearly states that deletion requires zero instances of the locale on any contentlet.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
localization
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.