dotCMS / dotCMS/core

[DEFECT] Page API: Ghost Contentlet appears on not translated content

Open
#33,201 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OKR : Core Features OKR : User Experience Priority : 2 High Team : Scout
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)

Image
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.