Skip to content

IBX-12033: Fixed content name reverting when translations are published in parallel#779

Open
Sztig wants to merge 2 commits into
4.6from
IBX-12033-parallel-content-translation-publish-fix
Open

IBX-12033: Fixed content name reverting when translations are published in parallel#779
Sztig wants to merge 2 commits into
4.6from
IBX-12033-parallel-content-translation-publish-fix

Conversation

@Sztig

@Sztig Sztig commented Jul 9, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12033

Description:

Prerequisite for the bug to happen - content type must contain non translatable field.
When 2 translations of the same content were edited and published in parallel (order of operations described in detail in the jira ticket), publishing the the second draft reverted the content name to its pre published value.

During the publishing the second translation, we already query the stale content through internalLoadContentById(), then copyTranslationsFromPublishedVersion() manages to "fix" the stale content .
However, we still pass the same initially queried content with potentially outdated name to copyNonTranslatableFieldsFromPublishedVersion(). My fix here is just reloading the content again in this method to not rely on the stale content.

Case described in jira ticket has been covered in an integration test.

@Sztig Sztig requested a review from a team July 9, 2026 14:34
@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2026

Copy link
Copy Markdown

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants