[Koha-bugs] [Bug 29554] neworderempty.pl may create records with biblioitems.itemtype NULL

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 14 13:43:57 CEST 2022


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

Slava Shishkin <slavashishkin at gmail.com> changed:

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

--- Comment #19 from Slava Shishkin <slavashishkin at gmail.com> ---
Created attachment 141873
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141873&action=edit
Bug 29554: Do not hide display of itemtypes on neworderempty

Hiding the list may lead to biblioitems.itemtype being NULL.
We do not want that, since 942$c is mandatory.

Test plan:
Create basket and set 'create items when' to receiving or
cataloging.
Create order from new empty record.
Check biblioitems.itemtype of created biblio.
Without this patch, it would have been NULL like this:
    select biblionumber,title from biblio;
    |            7 | Test 3                |
    select biblionumber,itemtype from biblioitems;
    |            7 | NULL     |

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list