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

Install DS-3914: Fix community defiliation #2178 #702

Closed
alawvt opened this issue Jun 15, 2020 · 2 comments · Fixed by #756
Closed

Install DS-3914: Fix community defiliation #2178 #702

alawvt opened this issue Jun 15, 2020 · 2 comments · Fixed by #756

Comments

@alawvt
Copy link
Contributor

alawvt commented Jun 15, 2020

DS-3914: Fix community defiliation #2178

This is also scheduled to be released in DSpace 6.4.

root@vtechworksvm:/dspace/bin# sudo -u vtechworks /dspace/bin/dspace community-filiator -h
usage: CommunityFiliator
 -c,--child <arg>    child community (handle or databaseID)
 -h,--help           help
 -p,--parent <arg>   parent community (handle or database ID)
 -r,--remove         remove a parent/child relationship
 -s,--set            set a parent/child relationship

establish a relationship: CommunityFiliator -s -p parentID -c childID
remove a relationship: CommunityFiliator -r -p parentID -c childID
@alawvt
Copy link
Contributor Author

alawvt commented Jul 27, 2021

Installed patch.
Test:

sudo -u vtechworks /dspace/bin/dspace community-filiator -r -p 10919/5478 -c 10919/5525

Defiliation complete. Community: '8419cc8e-1e8b-4e6b-a391-68559a96e81d' is no longer a child of community: '8e42f588-ff3e-4eb6-b440-0c0ec6a1c5e3'

Result: Subcommunity 10919/55251 appears on the home page, as expected.

sudo -u vtechworks /dspace/bin/dspace community-filiator -s -p 10919/5555 -c 10919/5525

Filiation complete. Community: '053fc69f-7bfd-4e92-bb61-d6232908b59e' is parent of community: '8419cc8e-1e8b-4e6b-a391-68559a96e81d'

Result: Subcommunity 10919/5525 appears in Community 10919/5555, as expected. However Subcommunity 10919/5525 also appears on the home page.

After < 10 minutes, that subcommunity no longer appears on the home page. There also seems to be a delay in updating the breadcrumb. It might be a caching issues.

@alawvt alawvt mentioned this issue Jul 27, 2021
@alawvt
Copy link
Contributor Author

alawvt commented Jul 27, 2021

Resolved by #756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant