This seems to be a regression bug as in 24.11. this feature is still working. To recreate: - in ERM add a data provider (/cgi-bin/koha/erm/eusage/usage_data_providers) - dummy data should be sufficient - on the new data provider overview click Close on the bottom to return to the data providers list. - open web development tools (F12 on Firefox) - click New data provider and see the error on the console. The reasons seems to be, that the add form gathers an erm_usage_data_provider_id from an older route in from.value.params.erm_usage_data_provider_id
Created attachment 188506 [details] [review] Bug 41120: Fix broken Add data provider functionality Clicking on New data provider in the ERM eUsage section will not work, when a data provider was shown before. Test plan: prequisites: - activate the ERM module system preference. - this is for ktd a) go to /cgi-bin/koha/erm/eusage/usage_data_providers b) add a new data provider, dummy data is sufficient c) submit the new provider and on the following screen click close to return to the provider list d) click on 'Add data provider' (open web dev tools will display an error) e) apply patch f) run 'yarn js:build' f) do a hard refresh in the browser g) on provider list click your created provider h) close it via 'close' to return to the provider list d) click on 'Add data provider' should work now