Bug 20893

Summary: batchRebuildItemsTables.pl has incorrect parameter
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: Command-line UtilitiesAssignee: Nick Clemens (kidclamp) <nick>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: fridolin.somers, julian.maurice, martin.renvoize, robin
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 19040    
Bug Blocks:    
Attachments: Bug 20893: batchRebuildItemsTables.pl has incorrect parameter
Bug 20893: batchRebuildItemsTables.pl has incorrect parameter
Bug 20893: batchRebuildItemsTables.pl has incorrect parameter

Description Nick Clemens (kidclamp) 2018-06-07 14:02:50 UTC
umm...biblionumber only has one m
Comment 1 Nick Clemens (kidclamp) 2018-06-07 14:05:07 UTC
Created attachment 75882 [details] [review]
Bug 20893: batchRebuildItemsTables.pl has incorrect parameter

To test:
1 - run batchRebuildItemsTables.pl with a valid biblionumber
   perl /usr/share/koha/bin/batchRebuildItemsTables.pl --where biblio.biblionumber=38483  -c
2 - Note it says 'undefined biblionumber
3 - Apply patch
4 - Do it again
5 - It works!
Comment 2 Katrin Fischer 2018-06-18 22:04:57 UTC
Created attachment 76165 [details] [review]
Bug 20893: batchRebuildItemsTables.pl has incorrect parameter

To test:
1 - run batchRebuildItemsTables.pl with a valid biblionumber
   perl /usr/share/koha/bin/batchRebuildItemsTables.pl --where biblio.biblionumber=38483  -c
2 - Note it says 'undefined biblionumber
3 - Apply patch
4 - Do it again
5 - It works!

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 3 Julian Maurice 2018-06-25 13:04:27 UTC
Created attachment 76378 [details] [review]
Bug 20893: batchRebuildItemsTables.pl has incorrect parameter

To test:
1 - run batchRebuildItemsTables.pl with a valid biblionumber
   perl /usr/share/koha/bin/batchRebuildItemsTables.pl --where biblio.biblionumber=38483  -c
2 - Note it says 'undefined biblionumber
3 - Apply patch
4 - Do it again
5 - It works!

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Comment 4 Julian Maurice 2018-06-25 13:05:34 UTC
This was broken by bug 19040.
The fix needs to be backported in 18.05.x and 17.11.x
Comment 5 Nick Clemens (kidclamp) 2018-06-29 21:01:59 UTC
Awesome work all!

Pushed to master for 18.11
Comment 6 Martin Renvoize 2018-07-02 08:09:21 UTC
Pushed to 18.05.x for 18.05.02
Comment 7 Fridolin Somers 2018-07-04 07:47:29 UTC
Pushed to 17.11.x for 17.11.08
Comment 8 Fridolin Somers 2018-07-04 07:49:16 UTC
Depends on Bug 19040 not in 17.05.x