4Science / DSpace

This repository contains the 4Science optimized DSpace & DSpace-CRIS distribution.
https://wiki.lyrasis.org/display/DSPACECRIS/
BSD 3-Clause "New" or "Revised" License
42 stars 61 forks source link

missing or wrong backend discoveryConfiguration #421

Closed floriangantner closed 6 months ago

floriangantner commented 6 months ago

Describe the bug Both https://github.com/4Science/dspace-angular/blob/359ddec66158e33721f57c34fd210a4adb111cca/src/app/shared/dso-selector/modal-wrappers/import-batch-selector/import-batch-selector.component.ts#L19 and https://github.com/4Science/dspace-angular/blob/359ddec66158e33721f57c34fd210a4adb111cca/src/app/shared/dso-selector/modal-wrappers/export-batch-selector/export-batch-selector.component.ts#L33 reference the backend search discovery configuration, which is not part in the discovery configuration map (anymore).

To Reproduce

Expected behavior we expect the backend configuration to be exist in the map. Or the configuration to be changed. Now the default Configuration should be returned instead.

This was part of the mapping before the merge with 7.6 https://github.com/4Science/DSpace/blame/8b0fd3a63066366e64d8da377f67c0ee7e42ca1d/dspace/config/spring/api/discovery.xml#L103

Related work https://github.com/4Science/DSpace/commit/4f17b4176e6a814fb5ee848400fc2d7f77f6ce80

floriangantner commented 6 months ago

has been fixed by https://github.com/4Science/dspace-angular/commit/c2c5e1a67d4746bc30ed52db003c0be9834af561 on the newest release