[Koha-bugs] [Bug 32175] New: Flatpickr usage causes acquisitions item info clone to fail when dateaccessioned is filled in

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 11 00:05:47 CET 2022


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

            Bug ID: 32175
           Summary: Flatpickr usage causes acquisitions item info clone to
                    fail when dateaccessioned is filled in
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org

Bug 29369 added Flatpickr to the "Date acquired" field

When creating items at receival time in Acquisitions, the item info should be
cloned/prefilled for the next item after adding an item.

However, if you've added a value to "Date acquired", it will trigger a
Javascript error that stops the clone/prefill from working.

This is because the "input[name='field_value']" element is wrapped by '<span
class="flatpickr_wrapper">' which creates a problematic inconsistency with the
HTML structure...

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list