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

            Bug ID: 41419
           Summary: Error javascript "undefined" is not valid JSON when
                    showing the order edit modal in orderreceive.tt
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

to reproduce

1. Go to Acquisitions → New vendor, enter a name, check Vendor is Active, and
click Save.
2. Click the name of the vendor you just created in the table.
3. Click New → Basket, enter a basket name, and click Save.
4. Click Add to basket → From a new (empty) record.
Enter a title, add an item, and click Save.
5. Click Close basket.
6. Click Receive shipments, enter a number in the Vendor invoice field, and
click Next.
7. Click Receive for the created line.
8. Open the browser console.
9. In the modal, tick the Receive? checkbox and click Confirm.
10. Go to the previous page
    → The console shows the error: "undefined" is not valid JSON at JSON.parse
(<anonymous>) was shown
11. Apply the patch
12. Go to Acquisitions → Search for the vandor created on step 2
13. Repeat step 3, 4, 5, 6, 7, 8, 9, 10
    → There is no js error

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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