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

            Bug ID: 34109
           Summary: When adding items on receive, mandatory fields are not
                    checked
 Change sponsored?: ---
           Product: Koha
           Version: 22.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Acquisitions
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        Depends on: 8179, 34018

The itemtype is mandatory in the ACQ and all other item forms. But when adding
items in acq on receive, there is no error whatsoever if you add items without
itemtypes.

To make things worse: When you don't notice the mistake, Koha will just add the
item with itemtype "Books" (possibly as it's the first non empty entry in the
pull down).

Same if you set any other field to mandatory, it shows as red in the form, but
it's not enforced. For text fields the field will then remain empty (tested
with callnumber)

To test:
* Go to administration > frameworks > ACQ > MARC structure > 952
* Set callnumber (o) or barcode (p) to mandatory
* In acquisition: 
* Create a basket with "create items on order" and "is standing"
  "standing" helps as you can do multiple receives testing different things, 
  but is optional
* Add an order line
* Receive shipment
* Verify the mandatory fields show in the item form
* Save
* Verify no message/warning appears
* Verify the item was added with itemtype Books (on sample data) and empty
mandatory field


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8179
[Bug 8179] Receiving multiple order lines at once
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34018
[Bug 34018] Patron image upload fails without cardnumber
-- 
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