[DEFECT] Page API: Ghost Contentlet appears on not translated content
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Problem Statement
When creating a content on a language that is not the default and added to a page, it will appear on translation on that Page even when it doesn't have a translation created for that language
This issue affect clients with multi language users when trying to create different pages per language. By adding different content on each of them. It leaves the UVE hanging due to a 400 Error: Duplicated Content while trying to save any change on page structure (Move, Remove, Add)
Steps to Reproduce
Check the video, since it is difficult to reproduce.
https://github.com/user-attachments/assets/54d3f2f0-26b9-4844-ac78-345ef419adb7
Acceptance Criteria
We should be able to edit pages even if the content is not translated to the current language.
dotCMS Version
Evergreen
Severity
High - Major functionality broken
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 with the Page API behavior described in the reproduction video, focusing on content added in a non-default language and displayed without a translation. Reproduce the duplicated-content 400 error while editing page structure, then verify that pages remain editable when content is unavailable in the current language.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend, internationalization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100