APAR status
Closed as program error.
Error description
The XML to JSON conversion where an XML element does not have a repeating element is treated as a JSON object whereas if the element is repeating that will be treated as a JSON array. The foreach within a set action assumes the data for the foreach will be an array, thus mapping of a non repeating XML element in these cases would fail.
Local fix
Problem summary
<span style="background-color:rgb(255, 255, 255)">The map policy's conversion of XML to JSON would create a non-array property when only one XML element was present which caused the iteration which was expecting an array to fail.</span>
Problem conclusion
<span style="background-color:rgb(255, 255, 255)">A fix will be delivered in the API Connect 5.0.8.8 GA </span><span style="background-color:rgb(255, 255, 255)">and 2018.4.1.11 GA releases.</span>
Temporary fix
Comments
APAR Information
APAR number
LI81391
Reported component name
API CONNECT ENT
Reported component ID
5725Z2201
Reported release
18X
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-03-12
Closed date
2020-04-28
Last modified date
2020-04-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
API CONNECT ENT
Fixed component ID
5725Z2201
Applicable component levels
R18X PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
29 September 2021