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

DS-3914: Fix community defiliation (master) #2284

Merged
merged 2 commits into from
Dec 7, 2018

Conversation

AlexanderS
Copy link
Contributor

This is #2178 ported to master.

Alexander Sulfrian added 2 commits December 7, 2018 11:19
This fixes in issue in the defiliate method of the community filiator. The
child and parent relations should be managed using the provided methods of the
Community.

This changes the visibility of Community.removeSubCommunity() to public, but
Community.removeParentCommunity() was public before already.
This removes the loops for checking if a community is contained in a list of
communities. Community.equals() does the same check, so we simply can use
contains().
Copy link
Member

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Verified the code looks good and is identical to the changes in #2178 (which was already approved & merged). Thanks @AlexanderS for the port to master!

@tdonohue tdonohue added bug interface: command-line DSpace CLI (command-line interface) labels Dec 7, 2018
@tdonohue tdonohue added this to the 7.0 milestone Dec 7, 2018
@tdonohue
Copy link
Member

tdonohue commented Dec 7, 2018

Merging immediately, as this is an exact port of code verified in 6.x

@tdonohue tdonohue merged commit 0feb174 into DSpace:master Dec 7, 2018
@AlexanderS AlexanderS deleted the ds3914-master branch December 7, 2018 15:40
@tdonohue tdonohue modified the milestones: 7.0, 7.0preview Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug interface: command-line DSpace CLI (command-line interface)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants