https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43398 Bug ID: 43398 Summary: Standardize error messages when items fail to restore/undelete Initiative type: --- Sponsorship --- status: Product: Koha Version: 26.05 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: sbrown@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Depends on: 17387 Target Milestone: --- Created attachment 204347 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204347&action=edit screenshot of both failed restoration messages With the new undelete feature for bibs and items, the error messages when an item fails to restore differ depending on whether the action started from bib restoration with items added vs. from item-only restoration where the bib still exists. When restoring a bib and its items (starting at the 'Deleted bibliographic records' table, and selecting items to restore in addition to the bib), the error message if an item fails to restore is "[#] item(s) failed to restore". However, if an item fails to restore when starting from the 'Deleted items' table (so, restoring items only where the bib still exists), the error message for a failed restoration is "Error restoring item [barcode]: Something went wrong, check Koha log for details.". (See attached file for screenshot of both versions.) The error message when restoring from the bib should also include the item barcode(s) for any failed restorations, especially when the failed item is on a bib with many successfully-restored items. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387 [Bug 17387] Add an undelete feature for items/biblios -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.