[Bug 41612] New: Marking checkout notes as seen/unseen shows misleading error messages
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41612 Bug ID: 41612 Summary: Marking checkout notes as seen/unseen shows misleading error messages Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: tadeusz@sosnierz.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com "Mark seen"/"Mark not seen" buttons on "Checkout notes" page don't do their error reporting correctly. This manifests itself as an error message "Unable to change status of note." showing up on the page when no error happens (and a page refresh confirms that the operation worked). This is caused by incorrect handling of an asynchronous JS response object, for which a patch is coming right up. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41612 --- Comment #1 from HKS3 Tadeusz Sośnierz <tadeusz@sosnierz.com> --- Created attachment 191406 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=191406&action=edit Bug 41612: Await API responses when marking circulation notes as seen/not seen Test plan (specifics for KTD): 1. Enable checkout notes at /cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=checkout+notes 2. Checkout a book at /cgi-bin/koha/circ/circulation.pl?findborrower=42, e.g. barcode 39999000011418 3. Navigate to OPAC, add a note to your checkout 4. Navigate to intranet's /cgi-bin/koha/circ/checkout-notes.pl 5. Try clicking Mark seen/Mark not seen, observe status not changing instantly and error messages popping up 6. Apply the patch 7. Observe the buttons working instantly and no error messsage showing up Sponsored-by: Steiermärkische Landesbibliothek -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org