Skip to content

Edit collection > Assign Roles page never finishes loading in DSpace 9 and is not usable for sites with entities and researcher-profiles disabled #4646

@MW3000

Description

@MW3000

Describe the bug

Edit collection > Assign Roles page never finishes loading in DSpace 9 and is not usable for sites with entities and researcher-profiles disabled. Instead it continues to try to load server/api/config/properties/researcher-profile.entity-type ad infinitum, even if entities and researcher profiles are disabled.

Image

To Reproduce

Steps to reproduce the behavior:

  1. Install a new DSpace 9.x (I tested 9.0 and 9.1) out of the box
  2. Add one community and one collection
  3. Go to your one collection and choose Edit collection > Assign Roles
  4. Observe the text "Loading..." for "Default item read access" and for "Default bitstream read access"
  5. Observe the page becoming unresponsive
  6. Observe the browser log showing ongoing 404 loads for server/api/config/properties/researcher-profile.entity-type
    [Error] Failed to load resource: the server responded with a status of 404 () (researcher-profile.entity-type, line 0) http://localhost:8080/server/api/config/properties/researcher-profile.entity-type

Expected behavior

Edit collection > Assign Roles should work correctly for sites with entities disabled and researcher-profile disabled.

Related work

I could find one other issue mentioning failing calls to researcher-profile.entity-type, but the context is totally different: #3759. I think they are not related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcannot reproduceUnable to reproduce at this time, so the ticket either needs more information or needs closingcomponent: CollectionCollection display or editinghigh priority

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions