https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39543
Lisette Scheer <lise...@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180491|0 |1 is obsolete| | --- Comment #4 from Lisette Scheer <lise...@bywatersolutions.com> --- Created attachment 180526 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180526&action=edit Bug 39543: Error modal when trying to add two controlling licences to an agreement duplicates error message If you try to add two licences with the status 'controlling' to an agreement record, the error modal duplicates the error message 'Only one controlling license is allowed'. Test Plan: 1) Enable ERMModule sys pref 2) Add an agreement record 3) Add two licence records 4) Edit the agreement record and associate both license records to the agreement 5) Try to set both licenses to status 'controlling' 6) Note error modal duplicates the error message 'Only one controlling license is allowed' 7) Apply the patch, run yarn js:build and then hard refresh the browser 8) Repeat steps 1 to 5 and enjoy the single error message! Signed-off-by: Magnus Enger <mag...@libriotech.no> I took the liberty of fixing up the commit message a bit. Signed-off-by: Lisette Scheer <lise...@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/