on 06-22-2021 8:22 AM
We recently migrated from 1808 to 2011 and after that we are not able to associate Promotion Group with the Promotion SourceRule. We are getting an error for the one to many handler. Let me know if anyone face the similar issue.
I am copying some logs for the reference.
de.hybris.platform.jalo.JaloInternalException: One to many handler for PromotionGroup2PromotionSourceRuleRelation relation not found. at de.hybris.platform.servicelayer.internal.converter.ReadParams$RelationInfo.getOneToManyHandler(ReadParams.java:281) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.model.impl.SLDPersistenceObject.getRelatedObjects(SLDPersistenceObject.java:182) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.model.impl.SLDPersistenceObject.readRawValue(SLDPersistenceObject.java:112) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.model.impl.SLDPersistenceObjectWithFallback.readRawValue(SLDPersistenceObjectWithFallback.java:85) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.readSingleAttribute(ItemModelConverter.java:1432) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.converter.impl.ItemAttributeProvider.getAttribute(ItemAttributeProvider.java:110) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.model.impl.OriginalValueHolder$UnlocalizedOriginalValueHolder.getOnDemand(OriginalValueHolder.java:106) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.model.impl.OriginalValueHolder$UnlocalizedOriginalValueHolder.getOnDemand(OriginalValueHolder.java:1) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.model.impl.OriginalValueHolder.get(OriginalValueHolder.java:73) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.model.impl.ModelValueHistory.getOriginalValue(ModelValueHistory.java:184) ~[coreserver.jar:?] at com.hybris.backoffice.cockpitng.dataaccess.facades.object.savedvalues.DefaultItemModificationHistoryService.getOriginalValue(DefaultItemModificationHistoryService.java:209) ~[classes/:?] at com.hybris.backoffice.cockpitng.dataaccess.facades.object.savedvalues.DefaultItemModificationHistoryService.lambda$1(DefaultItemModificationHistoryService.java:157) ~[classes/:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?] at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1603) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) ~[?:?] at com.hybris.backoffice.cockpitng.dataaccess.facades.object.savedvalues.DefaultItemModificationHistoryService.computeModificationsForModifiedItem(DefaultItemModificationHistoryService.java:156) ~[classes/:?] at com.hybris.backoffice.cockpitng.dataaccess.facades.object.savedvalues.DefaultItemModificationHistoryService.createModificationInfo(DefaultItemModificationHistoryService.java:138) ~[classes/:?] at com.hybris.backoffice.cockpitng.dataaccess.facades.object.DefaultPlatformObjectFacadeStrategy.save(DefaultPlatformObjectFacadeStrategy.java:162) ~[classes/:?]
With 2011 i think the property persistence.legacy.mode has a default value false, i changed it to true and things are start working for me.
Hope that helps.
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 | |
1 | |
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.