https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42875

            Bug ID: 42875
           Summary: Wrong failure message when adding an item to a bundle
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

If bc_1 is checked out and I try to add bc_2 I get:
"Failure: Item 'bc_2' belongs to another bundle"

The POST returns 409
{"error":"Bundle is checked out","error_code":"bundle_checked_out"}

The JS code:
-                        } else if (response.error_code ===
"bundle_checkout_out") {
-                            $("#addResult").replaceWith('<div id="addResult"
class="alert alert-danger">' + _("Failure: Bundle is currently checked out") +
"</div>");

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to