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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 16 22:57:52 CEST 2022


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

David Nind <david at davidnind.com> changed:

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

--- Comment #17 from David Nind <david at davidnind.com> ---
Created attachment 141947
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141947&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>

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


More information about the Koha-bugs mailing list