Bug 6589

Summary: can't add supplements
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: SerialsAssignee: Colin Campbell <colin.campbell>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: critical    
Priority: PATCH-Sent (DO NOT USE) CC: chris, koha.sekjal
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:
Bug Depends on:    
Bug Blocks: 5917    
Attachments: Proposed patch

Description Nicole C. Engard 2011-07-14 19:41:21 UTC
When trying to add a supplement I get this error:

Software error:

mismatched tag at line 7, column 2, byte 273 at /usr/lib/perl5/XML/Parser.pm line 187
Comment 1 Katrin Fischer 2011-07-16 19:20:13 UTC
I can reproduce this error when adding supplements for subscriptions set to 'create items' on current master.
Comment 2 Katrin Fischer 2011-07-16 20:18:01 UTC
Created attachment 4640 [details] [review]
Proposed patch

To test:
- add a new subscription, choose 'create items on receive'
- receive some issues and create items > should work ok
- create a supplement, alone or at the same time as receiving a normal issue
- check if item was created and attached to the biblio record

Without patch this should give you an error message. Although supplement will be created, no item will be added to the bibliogrpahic record.

With patch applied there should be no error message and the item should be created and attached to the proper record.
Comment 3 Ian Walls 2011-07-18 18:01:53 UTC
Easy patch to read, related to T:T issues.  Since the test plan is clear, and this has been signed off (July 16 by nengard, see patches list), I will mark this as Passed QA.
Comment 4 Chris Cormack 2011-07-19 07:24:04 UTC
Pushed, please test
Comment 5 Ian Walls 2011-10-16 11:40:51 UTC
Marking resolved