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

Conversation

papcio122
Copy link
Contributor

🎫 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

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
@webhdx
Copy link
Contributor

webhdx commented Jul 9, 2024

@papcio122 Do you plan to finish this PR or can we close it? I've recommended another solution but haven't heard back from you.

@papcio122
Copy link
Contributor Author

I'm closing this pull request and working on a fix in the fieldtype-address repo as @webhdx suggested.

@papcio122 papcio122 closed this Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants