[Koha-bugs] [Bug 34109] New: When adding items on receive, mandatory fields are not checked
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 23 09:51:16 CEST 2023
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: koha-bugs at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
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.
More information about the Koha-bugs
mailing list