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

Fix ConstraintNotSatisfied error on language field import #2007

Merged
merged 6 commits into from
Jun 7, 2022

Conversation

ramonski
Copy link
Contributor

@ramonski ramonski commented Jun 7, 2022

Description of the issue/feature this PR addresses

This PR fixes an ConstraintNotSatisfied error when importing a language value that is not in the vocabulary of available languages.

Current behavior before PR

Traceback on Generic Setup content data import

Desired behavior after PR is merged

Generic Setup content data import gracefully imports the language field

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@ramonski ramonski requested a review from xispa June 7, 2022 11:27
@xispa xispa merged commit 58e5cd5 into 2.x Jun 7, 2022
@xispa xispa deleted the fix-gs-language-field-import branch June 7, 2022 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants