Summary: | software error when filling a basket with staged record | ||
---|---|---|---|
Product: | Koha | Reporter: | Mathieu Saby <mathsabypro> |
Component: | Acquisitions | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | P1 - high | CC: | bgkriegel, chris, chrish, jonathan.druart, mtj |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9902 | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 10088: FIX adding an order from a staged file.
[PATCH][SIGNED OFF] Bug 10088: FIX adding an order from a staged file. Bug 10088: FIX adding an order from a staged file. |
Description
Mathieu Saby
2013-04-21 18:08:55 UTC
line 129 of addorderiso2709.pl call PrepareItemrecordDisplay this way my $cell = PrepareItemrecordDisplay( '', '', '', 'ACQ' ); I suppose this is not correct. M. Saby Created attachment 17668 [details] [review] Bug 10088: FIX adding an order from a staged file. Bug 9902 introduced an issue in the C4::Items::PrepareItemrecordDisplay routine. The existence of $defaulvalue hashref should be tested before getting to the branchcode key. Test plan: Before applying the patch, an error occurred when you try to create an order from a staged file. After applying the patch, the error does not appear anymore. Created attachment 17681 [details] [review] [PATCH][SIGNED OFF] Bug 10088: FIX adding an order from a staged file. Your patch is working. I sign off. Mathieu Created attachment 17750 [details] [review] Bug 10088: FIX adding an order from a staged file. Bug 9902 introduced an issue in the C4::Items::PrepareItemrecordDisplay routine. The existence of $defaulvalue hashref should be tested before getting to the branchcode key. Test plan: Before applying the patch, an error occurred when you try to create an order from a staged file. After applying the patch, the error does not appear anymore. Signed-off-by: Mathieu Saby <mathieu.saby@univ-rennes2.fr> Signed-off-by: Mason James <mtj@kohaaloha.com> > Signed-off-by: Mathieu Saby <mathieu.saby@univ-rennes2.fr>
> Signed-off-by: Mason James <mtj@kohaaloha.com>
passing QA, patch works well!
This patch has been pushed to master and 3.12.x. I was not able to recreate this problem, but the logic is demonstrably correct, so I am pushing it anyway. Bug 9902 in now on 3.10.x, so we need this. Pushed to 3.10.x, will be in 3.10.10 Pushed to 3.8.x, will be in 3.8.17 |