Bug 17399

Summary: SIP2 Screen messages for checkout failure should be improved
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: SIP2Assignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: colin.campbell
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2016-10-04 15:53:46 UTC
Koha should return useful screen messages for patrons when a checkout fails for some reason, currently it seems we just get the last kye/value pair:

In C4 / SIP / ILS / Transaction / Checkout.pm

Line 69 is quite correct:

  67     if (scalar keys %$issuingimpossible) {
  68         foreach (keys %$issuingimpossible) {
  69             # do something here so we pass these errors
  70             $self->screen_msg($_ . ': ' . $issuingimpossible->{$_});
  71             $noerror = 0;
  72         }
  73     }