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 error when invalidating sample with copies of analyses #1867

Merged
merged 2 commits into from
Nov 2, 2021

Conversation

xispa
Copy link
Member

@xispa xispa commented Nov 2, 2021

Description of the issue/feature this PR addresses

This Pull Requests makes the invalidation transition aware of samples with copies of same analysis, so no error arises when creating the sample retest on invalidation.

This Pull Request ports #1866 to 2.x

Current behavior before PR

A traceback arises when invalidating a Sample with more than one copy of same analysis

Desired behavior after PR is merged

No traceback arises and the retest of the sample is created succesfully

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

@xispa xispa requested a review from ramonski November 2, 2021 09:54
@ramonski ramonski merged commit 6a1f518 into 2.x Nov 2, 2021
@ramonski ramonski deleted the error-invalidate-2.x branch February 23, 2023 09:03
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