Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a contentlet in a 2nd language removes related content #25896

Closed
swicken-dotcms opened this issue Aug 24, 2023 · 2 comments · Fixed by #25947
Closed

Creating a contentlet in a 2nd language removes related content #25896

swicken-dotcms opened this issue Aug 24, 2023 · 2 comments · Fixed by #25947
Assignees

Comments

@swicken-dotcms
Copy link
Contributor

swicken-dotcms commented Aug 24, 2023

Parent Issue

#24415

Problem Statement

In the content editor, when you create another version of a contentlet in another language it removes related content. This happens whether you select to copy fields from the default language. Because of how related content works, it is removed from all languages.

Steps to Reproduce

  1. Start up the demo starter
  2. Open up a blog with an author
  3. Select 'ES' from the language dropdown
  4. Select 'Yes' when it asks Populate Espanol - Espana content with English - United States content ? (it happens whether you select Yes or not, just easier to test this way)
  5. Save/Publish
  6. Reopen the English version, the author will not be related anymore

Acceptance Criteria

The relationship should not be lost when creating a version in an additional language

dotCMS Version

22.03.8, 23.01.6 and 23.08.16

Proposed Objective

Core Features

Proposed Priority

Priority 1 - Show Stopper

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

https://dotcms.zendesk.com/agent/tickets/113119

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@waqasakramdot
Copy link

Another customer hitting: https://dotcms.zendesk.com/agent/tickets/113119

erickgonzalez added a commit that referenced this issue Sep 6, 2023
* #25896 #24415 create map, create list of relationships according to map

* #25896 #24415 remove unused code, add comments

* #25896 #24415 feedback
@erickgonzalez erickgonzalez reopened this Sep 6, 2023
@josemejias11
Copy link

josemejias11 commented Sep 25, 2023

Approved: Tested on master_af68a64, Docker, macOS 13.0, FF v113.0
Screenshot 2023-09-25 at 10 02 57 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

7 participants