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

Allow to detach a partition from its primary sample #1420

Merged
merged 4 commits into from
Aug 9, 2019

Conversation

xispa
Copy link
Member

@xispa xispa commented Aug 9, 2019

Description of the issue/feature this PR addresses

This Pull Requests adds an additional transition "detach", only available for Partitions. This transition makes the partition to be detached from the primary, so is no longer a "real-partition". Thus, a detached partition behaves like a Primary Sample and the original primary sample no longer follows the status of the detached partition. Nevertheless, the system keeps track of that relationship and displays a message informing the user about that ancestry.

Captura de 2019-08-09 18-31-36

Captura de 2019-08-09 18-32-19

Current behavior before PR

Partitions cannot be detached from their primary sample, that in turn, follows the workflow of its partitions

Desired behavior after PR is merged

Partitions can be detached from their primary sample, but without losing their ancestry relatonship

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

@ramonski ramonski merged commit f5ec93a into master Aug 9, 2019
@ramonski ramonski deleted the partitions-detachment branch August 9, 2019 18:46
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.

2 participants