Main Koha release repository https://koha-community.org
Find a file
Kyle M Hall 7d7c8c12e7
Bug 16750: Redirect from selectbranchprinter.pl to additem.pl causes software error
How to reproduce:
1) Edit and save an item in the items editor
2) You should be redirected back to the items editor, note that the
biblionumber is passed in the url
3) Choose "set library" from the upper right hand pulldown on the page
4) Choose a different library, click submit
5) You should get the error message:
Software error:

Can't call method "fields" on an undefined value at
/home/vagrant/kohaclone/cataloguing/additem.pl line 736.

Test Plan:
1) Apply this patch
2) Follow plan above
3) No software error should occur at step 5

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-06-13 12:05:38 +01:00
acqui Bug 4833: (QA follow-up) Add budgetname to SearchSuggestion 2019-05-15 16:46:47 +00:00
admin Bug 21411: Address QA concerns 2019-05-10 18:59:39 +00:00
api/v1 Bug 15496: (QA follow-up) Change success status on api 2019-04-26 12:06:58 +00:00
authorities
basket Bug 21993: Display a user-friendly message when the CSRF token is wrong 2019-01-25 20:38:32 +00:00
C4 Bug 10215: Increase the size of opacnote and librariannote for table subscriptionhistory 2019-06-06 15:26:49 +01:00
catalogue Bug 22424: Add search by all lost statuses to item search 2019-04-30 13:39:44 +00:00
cataloguing Bug 21411: Advanced cataloging editor - rancor - Allow configuration of Keyboard 2019-05-10 18:59:39 +00:00
circ Bug 7088: Allow renew on hold items with due date 2019-05-09 14:40:49 +00:00
clubs
course_reserves
debian Bug 21626: (QA follow-up) Embed teams.yaml for debian packages 2019-05-17 14:46:10 +00:00
docs Bug 23037: Add Henry Bolshaw to contributors 2019-06-05 08:44:17 +01:00
errors
etc Bug 23053: Add phrase index to authority Local-Number 2019-06-11 08:37:40 +01:00
ill Bug 21460: (follow-up) Fix bugs found in QA 2019-04-25 10:46:56 +00:00
installer Bug 23093: (bug 22318 follow-up) Use placeholders in query moving OpacNavRight 2019-06-13 12:01:52 +01:00
Koha Bug 22958: Fix help link on the SMS providers page 2019-06-06 15:24:57 +01:00
koha-tmpl Bug 16750: Redirect from selectbranchprinter.pl to additem.pl causes software error 2019-06-13 12:05:38 +01:00
labels Bug 21206: Replace C4::Items::GetItem 2019-02-26 13:24:07 +00:00
members Bug 22910: Do not copy unique patron attributes to duplicated patron 2019-06-06 16:03:26 +01:00
misc Update release notes for the 19.05.00 release 2019-05-30 15:29:07 +00:00
offline_circ
opac Bug 17698: (RM follow-up) Pass lang variable so letter can be translated 2019-05-23 15:43:54 +00:00
OpenILS
patron_lists
patroncards
plugins Bug 22053: ability to enable/disable some plugins 2019-05-09 18:54:44 +00:00
reports Bug 22090: Add missing information to cash register CSV file 2019-04-16 13:17:32 +00:00
reserve Bug 19302: Send koha::objects to C4::Reserves::IsAvailableForItemLevelRequest 2019-05-10 18:57:20 +00:00
reviews
rotating_collections Bug 21500: Remove warnings in rotating collections 2018-10-09 15:02:45 +00:00
serials Bug 11492: (follow-up) Don't pass publisheddatetext param to NewIssue 2019-06-04 09:33:04 +01:00
services
skel
suggestion Bug 22905: (QA follow-up) remove bad warn 2019-05-23 14:41:14 +00:00
svc Bug 7862: Preventing warns when creating a notice 2019-05-15 12:10:52 +00:00
t Bug 18344: Add unit tests 2019-06-11 10:17:36 +01:00
tags
tmp/modified_authorities
tools Bug 23006: Cannot use inventory with barcodes containing special chars 2019-06-04 09:39:43 +01:00
virtualshelves Revert "Bug 22478: (QA follow-up) Handle category in opac-shelves like a boolean" 2019-05-15 10:56:48 +00:00
xt
.editorconfig
.gitignore
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap
.scss-lint.yml
about.pl Bug 21626: (QA follow-up) Don't crash on missing teams file 2019-05-17 14:46:10 +00:00
changelanguage.pl
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 22867: DBRev 19.06.00.003 2019-06-06 16:09:08 +01:00
koha_perl_deps.pl
kohaversion.pl
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
mainpage.pl
Makefile.PL Bug 21626: (QA follow-up) Embed teams.yaml for debian packages 2019-05-17 14:46:10 +00:00
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