Running 21.05.02 on Debian stretch 9.13. When selecting "set to patron" or "select manager" when entering a purchase suggestion from the staff console, a 500 error rather than a search box appears in the popup. This issue seems related to bug 26738, where suggestion managers and patrons were unable to be saved, but I'm unable to get even that far.
What error you have in the Koha log files?
I get this error in master: The method Koha::Patron::Categories->search_limited is not covered by tests!
As above, "The method Koha::Patron::Categories->search_limited is not covered by tests!" Full plack-error.log: https://pastebin.com/1hZnCGnD Nothing in intranet or other logs.
Created attachment 124725 [details] [review] Bug 28946: (bug 23271 follow-up) Missing occurrence in add_user_search.pl commit f6e0b04f48e8f0a02dbb8d48152646257d9accba Bug 23271: Replace search_limited with search_with_library_limits We were modifying the occurrences of: Koha::Patron::Categories->search_limited; with: Koha::Patron::Categories->search_with_library_limits; But between the patch submission and the push, another occurrence has been added by bug 23590. Test plan: Create a new suggestion from staff and click "select manager" Without the patch, notice the error: The method Koha::Patron::Categories->search_limited is not covered by tests! With the patch applied everything is working correctly
Created attachment 124751 [details] [review] Bug 28946: (bug 23271 follow-up) Missing occurrence in add_user_search.pl commit f6e0b04f48e8f0a02dbb8d48152646257d9accba Bug 23271: Replace search_limited with search_with_library_limits We were modifying the occurrences of: Koha::Patron::Categories->search_limited; with: Koha::Patron::Categories->search_with_library_limits; But between the patch submission and the push, another occurrence has been added by bug 23590. Test plan: Create a new suggestion from staff and click "select manager" Without the patch, notice the error: The method Koha::Patron::Categories->search_limited is not covered by tests! With the patch applied everything is working correctly Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Pushed to master for 21.11, thanks to everybody involved!
Pushed to 21.05.x for 21.05.05
Depends on Bug 23271 not in 20.11.x