[Koha-bugs] [Bug 16750] Redirect from selectbranchprinter.pl to additem.pl causes software error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 16 15:06:37 CEST 2016


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

Marc Véron <veron at veron.ch> changed:

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

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 52462
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52462&action=edit
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 at veron.ch>

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


More information about the Koha-bugs mailing list