https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23998 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #14 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- I've got a test failure: * Proving /kohadevbox/koha/t/db_dependent/api/v1/messages.t FAIL # Failed test at /kohadevbox/koha/t/db_dependent/api/v1/messages.t line 253. # found warning: Duplicate ID at /kohadevbox/koha/Koha/Object.pm line 176. # expected to find warning: (?^u:DBD::mysql::st execute failed: Duplicate entry '(.*?)' for key 'PRIMARY') # Looks like you failed 1 test of 27. # Failed test 'add() tests' # at /kohadevbox/koha/t/db_dependent/api/v1/messages.t line 256. # Looks like you failed 1 test of 6. /kohadevbox/koha/t/db_dependent/api/v1/messages.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests Also, I don't think you've got required permissions set as they should be. you've got: listMessages: requires full "borrowers" permission getMessage: requires full "borrowers" permission But in the staff interface a user with only "list_borrowers" can see messages on any patron at their library or group. With "view_borrower_infos_from_any_libraries" they can view messages on any patron. These permission requirements do correctly match what's required in the staff interface: addMessage: requires "edit_borrowers" permission updateMessage: requires "edit_borrowers" permission deleteMessage: requires "edit_borrowers" permission -- You are receiving this mail because: You are watching all bug changes.