Main Koha release repository https://koha-community.org
Find a file
Jonathan Druart 7ce6f78956
Bug 25567: Prevent patron category type's categorycode to be created with ""
It must be NULL/undef, the default from the DB.

The method Koha::Patron::Attribute::Type->categorycode is not covered by tests!

To recreate:
Create a new patron attribute type, don't select a patron's category (and not repeatable or unique)
Go to the batch patron modification tool, enter a cardnumber, next.
=> boom!
Apply the patch, edit the patron attribute, save
Go to the batch patron modification tool, enter a cardnumber, next.
=> success!

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-22 09:33:17 +01:00
acqui Bug 24163: UTF-8 encode the output 2020-05-05 11:08:44 +01:00
admin Bug 25567: Prevent patron category type's categorycode to be created with "" 2020-05-22 09:33:17 +01:00
api/v1 Bug 25502: Adapt Advanced macros routes to current guidelines 2020-05-19 15:21:16 +01:00
authorities Bug 25428: Correctly encode link if authority subfield is a URL 2020-05-22 09:33:16 +01:00
basket
C4 Bug 24413: Do not remove the restrictions from AddReturn 2020-05-22 09:33:17 +01:00
catalogue
cataloguing Bug 25248: (bug 23463 follow-up) Adjust second occurrence 2020-05-11 14:18:48 +01:00
circ Bug 24612: Make hold-transfer-slip take reserve_id 2020-05-22 09:33:16 +01:00
clubs
course_reserves Bug 22970: Allow to change homebranch in batch add course reserves 2020-05-12 11:40:54 +01:00
debian Bug 25284: chown /var/log/koha log files on koha-create 2020-05-20 09:15:45 +01:00
docs
errors
etc Bug 25277: Don't specify a field in query if none passed 2020-05-18 15:27:11 +01:00
ill
installer Bug 13881: (RM follow-up) Fix terminology 2020-05-19 08:19:49 +01:00
Koha Bug 25411: Group conditions in if elsif 2020-05-22 09:04:18 +01:00
koha-tmpl Bug 24612: Make hold-transfer-slip take reserve_id 2020-05-22 09:33:16 +01:00
labels
members Bug 20443: (follow-up) Remove C4::Members::AttributeTypes 2020-05-07 17:05:32 +02:00
misc Bug 25501: Supress warnings on installing translation 2020-05-19 15:19:56 +01:00
offline_circ
opac Bug 25416: Let OPAC XSLTs know if the context is an anonymous session 2020-05-15 09:33:22 +01:00
patron_lists
patroncards
plugins
pos
reports
reserve Bug 25516: Fix for "Can't call method unblessed on unblessed reference" 2020-05-19 08:29:34 +01:00
reviews
rotating_collections
serials
services
skel
suggestion
svc
t Bug 24413: Add tests 2020-05-22 09:33:17 +01:00
tags
tmp/modified_authorities
tools Bug 8132: Delete the items in a transaction and rollback if something wrong 2020-05-11 09:56:17 +01:00
virtualshelves
xt
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 25506: Fix for "Use of uninitialized value" in about.pl 2020-05-22 09:33:16 +01:00
changelanguage.pl
cpanfile Bug 24823: Fix spelling error and remove last of Catmandu 2020-05-12 11:43:26 +01:00
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 13881: DBRev 19.12.00.091 2020-05-19 08:18:23 +01:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo