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

IBX-8034 Changed reading all content fields in mapToFormData so it does not rely on language code #66

Open
wants to merge 1 commit into
base: 4.6
Choose a base branch
from

Conversation

papcio122
Copy link

🎫 Issue IBX-8034

Description:

Changed reading all content fields in mapToFormData so it does not rely on language code because it caused exceptions when editing translations with address field

@papcio122 papcio122 added Bug Something isn't working Ready for review labels Apr 17, 2024
@papcio122 papcio122 requested a review from a team April 17, 2024 08:34
Copy link

sonarcloud bot commented Apr 17, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@webhdx webhdx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say ContentUpdateMapper should access fields by languageCode since it's used for both translating and editing. I'm worried this may cause some side effects. This change will affect entire content editing but the issue is in Address Fieldtype and I'd check if something can be done there first.

@webhdx webhdx requested a review from a team May 9, 2024 09:40
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.

None yet

4 participants