cancel
Showing results for 
Search instead for 
Did you mean: 

Datahub: Error during publication because of <ignore> value

Former Member
0 Kudos

Hi,

I am using Hybris 5.5 for Data Hub trails. All were working well with Version 5.3.

I am able to import raw data. Compose it. I am getting error during publications.

The generated impex script is:

Data Hub generated Impex

Data Hub is inserting <ignore> for $catalogVersion column so file is not getting imported. I have attached the file for reference.

Error is: e.hybris.platform.servicelayer.interceptor.InterceptorException: [de.hybris.platform.servicelayer.interceptor.impl.MandatoryAttributesValidator@2a83b3f6]:missing values for [catalogVersion] in model CategoryModel () to create a new Category

Appreciate your suggestions and thoughts on this.

Thanks, Suresh

Former Member
0 Kudos

TargetItem attribute definition below:

 <name>catalogVersion</name>
 <localizable>false</localizable>
 <collection>false</collection>
 <transformationExpression />
 <exportCode>$catalogVersion</exportCode>
 <mandatoryInHeader>true</mandatoryInHeader>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The transformation needs to be &lt;transformationExpression&gt;""&lt;/transformationExpression&gt; as this becomes an empty string value instead of null. Null values in target items become &lt;ignore&gt; and empty strings remain as empty strings.

Answers (0)