Bugzilla – Attachment 87875 Details for
Bug 22597
Remove "more_subfields_xml" from GetPatronInfo response (xml broken)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22597: Remove "more_subfields_xml" from GetPatronInfo response
Bug-22597-Remove-moresubfieldsxml-from-GetPatronIn.patch (text/plain), 1.24 KB, created by
Marcel de Rooy
on 2019-04-12 09:28:39 UTC
(
hide
)
Description:
Bug 22597: Remove "more_subfields_xml" from GetPatronInfo response
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-04-12 09:28:39 UTC
Size:
1.24 KB
patch
obsolete
>From 90b6a954fd0c5c190a348be275fc285323cff7ab Mon Sep 17 00:00:00 2001 >From: Arthur Suzuki <arthur.suzuki@biblibre.com> >Date: Wed, 27 Mar 2019 15:49:04 +0100 >Subject: [PATCH] Bug 22597: Remove "more_subfields_xml" from GetPatronInfo > response >Content-Type: text/plain; charset=utf-8 > >Test plan >1/ Set an item with some xml data in more_subfields_xml >2/ Issue this item to a borrower >3/ Query the webservice with GetPatronInfo methods and show_loans=1 params >4/ Check no <more_subfields_xml> tags are returned in the xml response from the webservice > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/ILSDI/Services.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index fffb497ff4..56a2f18114 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -483,6 +483,7 @@ sub GetPatronInfo { > while ( my $c = $pending_checkouts->next ) { > # FIXME We should only retrieve what is needed in the template > my $issue = $c->unblessed_all_relateds; >+ delete $issue->{'more_subfields_xml'}; > push @checkouts, $issue > } > $borrower->{'loans'}->{'loan'} = \@checkouts; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22597
:
87070
|
87074
|
87476
| 87875