[Koha-bugs] [Bug 28012] Error on saving new numbering pattern

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 22 16:34:42 CET 2023


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #141947|0                           |1
        is obsolete|                            |
 Attachment #141948|0                           |1
        is obsolete|                            |

--- Comment #25 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 160248
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160248&action=edit
Bug 28012: Use definedness test instead of bool when checking whether to null
fields

Saving a new numbering pattern didn't work without having to fill all
the fields, even those that are not mandatory.

To test:
 1) Go to /cgi-bin/koha/serials/subscription-numberpatterns.pl
    and try creating a new pattern, notice that only Name and
    Description are mandatory after applying this patch
 2) Make sure editing existing numbering patterns still works

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list