[Bug 14962] Temp Shelving Location / On Display Module
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14962 --- Comment #653 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211875 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211875&action=edit Bug 14962: (QA follow-up) Report failures truthfully in the UI, tidy templates and icons Add to display (record page) - fetch() only rejects on network errors, so a 400/403/409/500 on every request still produced 'Successfully added N item(s)'. Check each response, report the server's reason per item, and leave the form alone when nothing was added. Replace the empty catch with a warning. - Wrap the remaining strings for translation. Vue - DisplaysResource swallowed API errors and returned undefined, so a server error while looking up a barcode was reported as 'The barcode entered does not match an item', and a failed display lookup threw a TypeError that left the save button doing nothing. Let the errors propagate, report them from checkForm, and stop table rows from showing 'Loading' forever. - The batch pages replaced the HTTP client's own error message (which names the real cause, e.g. a missing permission) with a generic 'Internal Server Error', swallowed a failed display list, and the remove page claimed success when no job was queued and parsed the response by hand because parseResponse was passed in the wrong place. Main.vue could leave the spinner on forever. - Document the new API client. Templates - The action log viewer cased ENABLE/DISABLE but the code logs ENABLED and DISABLED, and MODIFY_ITEM had no case at all. - The Remove date field was required although clearing it is supported and documented as the default. - Use the same icon for the toolbar button as for the menu and home page. - Remove two unused, near-duplicate modals and the comments describing them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org