Bug 8259

Summary: Library for notices not saving correctly
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P2 CC: jonathan.druart, nengard
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7997
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8258
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 7001    

Description Katrin Fischer 2012-06-17 16:39:47 UTC
Late orders in serial claims provides a pull down below the form where you can select which notice template should be used for the serial claim. The pull down used to list all notices that have the right module for serial claiming.

This no longer works.

To make it worse, I can't create a second notice for the module with a different code and the same library. Every time I save the notice, it gets added to 'all libaries' instead. Editing and changing the library does also not work.

Now the pull down should list all notice templates for the user's library + all libraries.

This is a regression :(
Comment 1 Katrin Fischer 2012-06-17 16:46:16 UTC
Ok, I have to correct myself, because now it worked - the pull down contains all notices with serial claims module from the current library and all libraries.

The problem is, that the branch is not saving. The list with multiple notices is shown correctly.

My logs show following errors:

[Sun Jun 17 18:41:35 2012] [error] [client 127.0.0.1] [Sun Jun 17 18:41:35 2012] letter.pl: Use of uninitialized value $module in string eq at /home/katrin/kohaclone/tools/letter.pl line 175., referer: http://localhost:8080/cgi-bin/koha/tools/letter.pl
[Sun Jun 17 18:41:35 2012] [error] [client 127.0.0.1] [Sun Jun 17 18:41:35 2012] letter.pl: Use of uninitialized value $module in string eq at /home/katrin/kohaclone/tools/letter.pl line 178., referer: http://localhost:8080/cgi-bin/koha/tools/letter.pl
[Sun Jun 17 18:41:35 2012] [error] [client 127.0.0.1] [Sun Jun 17 18:41:35 2012] letter.pl: Use of uninitialized value $module in string eq at /home/katrin/kohaclone/tools/letter.pl line 181., referer: http://localhost:8080/cgi-bin/koha/tools/letter.pl
[Sun Jun 17 18:41:35 2012] [error] [client 127.0.0.1] [Sun Jun 17 18:41:35 2012] letter.pl: Use of uninitialized value $module in string eq at /home/katrin/kohaclone/tools/letter.pl line 192., referer: http://localhost:8080/cgi-bin/koha/tools/letter.pl
[Sun Jun 17 18:41:35 2012] [error] [client 127.0.0.1] [Sun Jun 17 18:41:35 2012] letter.pl: Use of uninitialized value $module in string eq at /home/katrin/kohaclone/tools/letter.pl line 200., referer: http://localhost:8080/cgi-bin/koha/tools/letter.pl
[Sun Jun 17 18:41:35 2012] [error] [client 127.0.0.1] [Sun Jun 17 18:41:35 2012] letter.pl: Problem = a value of 1 has been passed to param without key at /home/katrin/kohaclone/C4/Templates.pm line 187., referer: http://localhost:8080/cgi-bin/koha/tools/letter.pl
Comment 2 Jonathan Druart 2015-04-07 14:23:48 UTC
This should be fixed, please reopen if I am wrong.