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

Aya <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #190386|0                           |1
        is obsolete|                            |

--- Comment #2 from Aya <[email protected]> ---
Created attachment 191832
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=191832&action=edit
Bug 41419 - Error javascript "undefined" is not valid JSON when showing the
order edit modal in orderreceive.tt

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

Signed-off-by: Aya Khallaf <[email protected]>

-- 
You are receiving this mail because:
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