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

Further performance improvements for sample creation #2376

Draft
wants to merge 11 commits into
base: 2.x
Choose a base branch
from

Conversation

ramonski
Copy link
Contributor

@ramonski ramonski commented Sep 5, 2023

Description of the issue/feature this PR addresses

This PR is related to #2359 and improves the sample create process further by manually generating a unique ID for the created sample and skipping temporary objects also in uid_catalog.

Current behavior before PR

  • renameAfterCreation is called to generate and set the new ID for the sample
  • temporary objects are always indexed in uid_catalog

Desired behavior after PR is merged

  • Renaming is done manually after sample construction
  • temporary objects are also skipped for uid_catalog

--
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 September 5, 2023 11:41
@ramonski ramonski changed the title Manually rename sample after construction Further performance improvements for sample creation Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant