Binary/image field not displayed after populating content into another language, until content is saved and republished
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 new language version of a contentlet via "Populate [language] content with [source language] content," all fields are copied — but a binary (image) field renders as an empty upload dropzone on screen, even though the field's value has in fact been copied. The image only becomes visible in the UI after the version is saved and the content is republished/reopened.
Steps to Reproduce
https://drive.google.com/file/d/1slH1BfiwwU-6641coLCfHWtDxlZRRQcM/view?usp=drive_link
- Open a contentlet with a binary/image field in its default language (e.g. Blog Author, Profile Photo field) — confirm the image displays.
- Switch to a second language in the Language panel.
- Click "Yes" on the "Populate [language] content with [source] content?" prompt.
- Observe: text fields show copied values; the binary/image field shows an empty "Drag and Drop or Choose File" dropzone.
- Click Save/Publish.
- Observe: dropzone still appears empty immediately after save.
- Close and reopen the contentlet in that language.
- Observe: the image now displays correctly.
Acceptance Criteria
Expected: The binary field should render the copied image immediately after populate, and continue to display it after save — without requiring a reopen.
dotCMS Version
24.12.27v24
26.07.06-02
Severity
Medium - Some functionality impacted
Links
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
Reproduce the issue in the contentlet editor using the linked recording and the listed language-population steps. Start by tracing the populate-language flow and binary/image field rendering; done means the copied image appears immediately after population and remains visible after save without reopening.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- content, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100