-
Notifications
You must be signed in to change notification settings - Fork 529
Description
Describe the bug
In #5134, a new relationship display was added for Entities which use the DSpace-CRIS style relationship model (i.e. relationships via authority framework). This relationship display is only enabled in the UI when showAuthorityRelations is set to true:
item:
showAuthorityRelations: true
When this display is enabled, both Person and OrgUnit entities will have a tab display (on their Item pages) which shows all related Entities like this (notice the "Publication" and "Projects" tabs on this Person page):
However, that same tab display does NOT appear if you visit the Item page for a Project Entity. This is a known issue because it requires enhancements to the Project entity submission form. See this comment:
This incorrect display for Projects will be fixed in a later PR when the submission forms are enhanced during the DSpace-CRIS merger process.
To Reproduce
Steps to reproduce the behavior:
- Enable
showAuthorityRelationsas shown above on the frontend - Disable default virtual metadata on the backend (
relationship.enable-virtual-metadata = false) and enable basic authority framework settings for Persons & Projects:
relationship.enable-virtual-metadata = false
plugin.named.org.dspace.content.authority.ChoiceAuthority = \
org.dspace.content.authority.OrcidAuthority = AuthorAuthority, \
org.dspace.content.authority.ItemAuthority = ProjectAuthority,\
org.dspace.content.authority.ItemAuthority = OrgUnitAuthority
choices.plugin.dc.relation.project = ProjectAuthority
choices.presentation.dc.relation.project = suggest
authority.controlled.dc.relation.project = true
choices.plugin.person.affiliation.name = OrgUnitAuthority
choices.presentation.person.affiliation.name = suggest
authority.controlled.person.affiliation.name = true
choices.plugin.dc.contributor.author = AuthorAuthority
choices.presentation.dc.contributor.author = suggest
authority.controlled.dc.contributor.author = true
cris.ItemAuthority.AuthorAuthority.source = orcid
cris.ItemAuthority.AuthorAuthority.entityType = Person
cris.ItemAuthority.ProjectAuthority.entityType = Project
cris.ItemAuthority.OrgUnitAuthority.entityType = OrgUnit
choices.plugin.project.investigator = AuthorAuthority
choices.presentation.project.investigator = suggest
authority.controlled.project.investigator = true
choices.plugin.dc.contributor.other = OrgUnitAuthority
choices.presentation.dc.contributor.other = suggest
authority.controlled.dc.contributor.other = true
choices.plugin.dc.description.sponsorship = OrgUnitAuthority
choices.presentation.dc.description.sponsorship = suggest
authority.controlled.dc.description.sponsorship = true
orcid.authority.prefix = will be generated::ORCID::
- Submit a new Publication. Link it to a Person (either from ORCID or local) in the submission form.
- Submit a new Project. Link it also to the same Person.
- Verify that the Person's Item page displays two tabs for Publication & Project. Clicking on either tab should display the linked Publication and the linked Project
- Verify the bug by visiting the Project page. It does not have a corresponding "Person" or "People" tab linking back to the associated Person entity.
- (Optionally) Submit an OrgUnit also linked to the Person. Verify the OrgUnit page has a tab which displays the linked Person.
Expected behavior
Project entities should display their relationships when showAuthorityRelations: true, just like Person and OrgUnit entities do.
Related work
First discovered in #5134 where this feature was added
Metadata
Metadata
Assignees
Labels
Type
Projects
Status