4Science / dspace-angular

Angular UI for DSpace and DSpace-CRIS. In the dspace-cris-7 branch you can find the extension to support DSpace-CRIS
BSD 3-Clause "New" or "Revised" License
14 stars 28 forks source link

entity list on imports wrong #14

Open floriangantner opened 1 year ago

floriangantner commented 1 year ago

Describe the bug The Import dropdown on the mydspace page does not show the entities where the user has privileges to submit/import into some collection, but rather show the entities where some export format exist.

Since Version DSpace 7.4 / DSpace-Cris 2022.03.00

To Reproduce Steps to reproduce the behavior:

  1. Disable the import right for the user for all collections on some entity type and make sure, some bulk-export for the entity exist.
  2. Login -> MyDspace -> Bulk Import or Import from external sources.
  3. Consider Entity-List. It contains the entities where bulk-export formats exist. Calling some import on this entity will lead to null values.

Expected behavior Excepted to see all collections where the user can submit/import.

Related work the previous working service method being called was changed here. Some additional @Input might be needed for import submissions which calls the old method. And all dropdown-entities with it's usages need some change.

https://github.com/4Science/dspace-angular/commit/ee11b90ffd5dcf88d4ef5aa6cbbd5e7693e3b019