Skip to content

Comments

8724 update datasets of linked dataverse#9304

Merged
kcondon merged 8 commits intodevelopfrom
8724-update-datasets-of-linked-dataverse
Jan 23, 2023
Merged

8724 update datasets of linked dataverse#9304
kcondon merged 8 commits intodevelopfrom
8724-update-datasets-of-linked-dataverse

Conversation

@sekmiller
Copy link
Contributor

What this PR does / why we need it: Datasets that are children of linked dv collections were not being displayed in the linking dv collection. This PR fixes the indexing of datasets that are children of linked dv collections so that they are displayed as part of the linking dv collection. It also fixes an as far as I can tell, unreported issue where if you link a dv collection that itself has child dv collections those children will look as if they are linked to themselves.
With respect to 7430 noted below as closed, it was reported in version 5.1.1 and was unreproducible in the current version. An integration test exercising the issue has been enabled as part of the PR.

Which issue(s) this PR closes:

Closes #8724 Linking Dataverse does not update child dataset indexes
#7430 Linked Dataverses don't always show up in their linking Dataverses

Special notes for your reviewer:

Suggestions on how to test this: Please make sure that I didn't miss something when I was unable to reproduce 7430.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:
Release notes have been added. for the changes to be effective for collections that have already been linked those collections must be re-indexed. Instructions for getting a list of those collections for re-indexing is included.
Additional documentation:

@coveralls
Copy link

coveralls commented Jan 19, 2023

Coverage Status

Coverage: 20.014% (+0.0005%) from 20.013% when pulling f4e1dc9 on 8724-update-datasets-of-linked-dataverse into 1bef93a on develop.

@scolapasta scolapasta self-assigned this Jan 23, 2023
@scolapasta scolapasta removed their assignment Jan 23, 2023
@kcondon kcondon self-assigned this Jan 23, 2023
@kcondon
Copy link
Contributor

kcondon commented Jan 23, 2023

  1. Creating a dataset within a collection does not appear in collection listing.

I could not reproduce the linking issues from #7430 but I used relatively sparse collections so may have avoided some collision? However, I did notice I can link parent collections into child collections, which seems like it shouldn't work due to circular link but seems to. Not sure if that is intentional or just happened but it exists in prior version.

@kcondon kcondon merged commit 91052bc into develop Jan 23, 2023
@kcondon kcondon deleted the 8724-update-datasets-of-linked-dataverse branch January 23, 2023 23:30
@pdurbin pdurbin added this to the 5.13 milestone Jan 23, 2023
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 this pull request may close these issues.

Linking Dataverse does not update child dataset indexes

5 participants