on ‎2018 Oct 03 7:15 PM
orderentry.infofield.product= product "${code}" with name "${name}" This key is defined in advanced.properties file , Based on this AbstractOrderEntry item's INFO attribute value is set. This functionality is part of DefaultAbstractOrderEntryPreparer.java interceptor configured for AbstractOrderEntry item type.
We are overriding this interceptor to set custom value to INFO field. We can see custom value at end of the overridden interceptor in DEBUG mode but actual value getting saved is still in the OOTB format(above mentioned key's value)
Request clarification before answering.
have you configured the field replacedInterceptors in your interceptor mapping?
If not, this would explain why the field is overwritten with the default value.
<bean id="customOrderEtryInfoMapping"
class="de.hybris.platform.servicelayer.interceptor.impl.InterceptorMapping">
<property name="interceptor" ref="customOrderEtryInfoInterceptor"/>
<property name="typeCode" value="AbstractOrderEntry"/>
<property name="replacedInterceptors" ref="abstractOrderEntryPreparer"/>
<!-- optional: define order -->
<property name="order" value="1"/>
</bean>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.