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 DX types imported from tarball do not have valid ids #2437

Merged
merged 3 commits into from
Nov 26, 2023
Merged

Conversation

xispa
Copy link
Member

@xispa xispa commented Nov 26, 2023

Description of the issue/feature this PR addresses

This Pull Request ensures that DX content types imported from tarball have a valid id.

The id for DX content types imported from tarball is not generated automatically, but keep the original UID as the id. No valid id is generated and therefore not properly catalog, cause the api.is_temporary(obj) returns False

Current behavior before PR

DX content types imported from tarball do not have a valid id, but keep original UID as the id

Desired behavior after PR is merged

DX content types imported from tarball have a valid id and they are properly catalogued

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

@ramonski ramonski merged commit 42c6750 into 2.x Nov 26, 2023
2 checks passed
@ramonski ramonski deleted the fix-dx-import branch November 26, 2023 21:45
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