在 hybris 中导入 impex 时,价值线没有电流 header
No current header for value line when importing impex in hybris
itemtype code="CartPageConfig" jaloclass="de.hybris.platform.jalo.config.CartPageConfig">
<deployment table="CartPageConfig" typecode="21033" />
<attributes>
<attribute qualifier="code" type="java.lang.String">
<modifiers unique="true" optional="false"/>
<persistence type="property" />
</attribute>
<attribute qualifier="shipToStores" type="AllowedStoresList">
<description> List of stores where the notification should be shown </description>
<persistence type="property"/>
</attribute>
</attributes>
<indexes>
<index name="code" unique="true">
<key attribute="code"/>
</index>
</indexes>
</itemtype>
并为上面的项目插入数据的以下项目:
CartPageConfig;code[unique=true];shipToStores;baseStores(uid)
;cartPageConfig;US;en-US-PT02
尝试导入上述 impex 时出现以下错误:
CartPageConfig,,,,;code[unique=true];shipToStores;# no current header for value line
,,,,;cartPageConfig;US;# no current header for value line
23.07.2019 16:12:06: ERROR: de.hybris.platform.impex.jalo.ImpExException: Can not resolve any more lines ... Aborting further passes (at pass 2). Finally could not import 2 lines![HY-123]
尝试:
INSERT_UPDATE CartPageConfig;code[unique=true];shipToStores;baseStores(uid)
;cartPageConfig;US;en-US-PT02
itemtype code="CartPageConfig" jaloclass="de.hybris.platform.jalo.config.CartPageConfig">
<deployment table="CartPageConfig" typecode="21033" />
<attributes>
<attribute qualifier="code" type="java.lang.String">
<modifiers unique="true" optional="false"/>
<persistence type="property" />
</attribute>
<attribute qualifier="shipToStores" type="AllowedStoresList">
<description> List of stores where the notification should be shown </description>
<persistence type="property"/>
</attribute>
</attributes>
<indexes>
<index name="code" unique="true">
<key attribute="code"/>
</index>
</indexes>
</itemtype>
并为上面的项目插入数据的以下项目:
CartPageConfig;code[unique=true];shipToStores;baseStores(uid)
;cartPageConfig;US;en-US-PT02
尝试导入上述 impex 时出现以下错误:
CartPageConfig,,,,;code[unique=true];shipToStores;# no current header for value line
,,,,;cartPageConfig;US;# no current header for value line
23.07.2019 16:12:06: ERROR: de.hybris.platform.impex.jalo.ImpExException: Can not resolve any more lines ... Aborting further passes (at pass 2). Finally could not import 2 lines![HY-123]
尝试:
INSERT_UPDATE CartPageConfig;code[unique=true];shipToStores;baseStores(uid)
;cartPageConfig;US;en-US-PT02