06-17-2015 5:41 PM - edited 02-04-2024 5:01 AM
Hi,
during import of data using the datahub, we face issues due to a generation of double quotes. We are running on data hub 5.5
CanonicalAttribute
<attribute>
<name>productID</name>
<values>
<value
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">XXX T2,5
</value>
</values>
</attribute>
...
<attribute>
<name>productID</name>
<values>
<value
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">YYY T2,5
</value>
</values>
</attribute>
Generated Impex (target attribute is a collection)
INSERT_UPDATE AlternativeProductNumbers;;alternativeProductNumber[unique=true]
;480;"XXX T2,5"
;485;"YYY T2,5"
INSERT_UPDATE Product .... alternativeProductNumbers(alternativeProductNumber) ...
... ; "XXX T2,5", "YYY T2,5" ...;
The Import of ItemType AlternativeProductNumbers works without issues. The import into hybris of ItemType Product fails with error message
... reason:cannot resolve value '"XXX T2,5", "YYY T2,5"' for attribute 'alternativeProductNumbers ...
Thanks for any hints, Robert
Hi Konrad,
thanks for you answer. The composition seems to work fine, the canonical attribute (collection=true) has a list of alternative product ids assigned. Using the REST API, one can see that the alternative product ids do not have any double quotes at this point in time.
So the double quotes are generated during the publication. Do we need to change the composition nevertheless?
Thanks, Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.