Skip to content

IBX-9277: Fixed error when translating User content with non-translatable fields - #114

Open
mateuszdebinski wants to merge 2 commits into
4.6from
IBX-9277-Error-when-translate-User-content
Open

IBX-9277: Fixed error when translating User content with non-translatable fields#114
mateuszdebinski wants to merge 2 commits into
4.6from
IBX-9277-Error-when-translate-User-content

Conversation

@mateuszdebinski

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-9277

Description:

Translating a User's content into a non-main language threw an error because the user_account field (non-translatable) wasn't available under that language, and non-translatable fields were still being written during translation.

Fixed by falling back to the main-language field value when loading/mapping user data, skipping non-translatable fields on translation submit, disabling the user account form field for non-main-language translations, and adding a UserTranslationSecureListener that force-creates the version in the correct language on publish to keep the User content record consistent.

For QA:

Documentation:

@mateuszdebinski
mateuszdebinski requested a review from a team August 25, 2026 07:45
@mateuszdebinski mateuszdebinski self-assigned this Aug 25, 2026
@mateuszdebinski mateuszdebinski added Bug Something isn't working Ready for review labels Aug 25, 2026
Switches backend-ci.yaml to the shared ibexa/gh-workflows/actions/composer-install
action (as ibexa/user and ibexa/core already do) instead of the local copy, which
lacks the composer-audit-ignore step. Composer 2.9 now blocks installing packages
affected by known security advisories by default, and every twig/twig 3.x release
compatible with PHP 7.4 has an open advisory, which is why the PHP 7.4 job started
failing to resolve dependencies (via ibexa/user's twig/twig ^3.0 requirement).
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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

Labels

Bug Something isn't working Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants