SAP Knowledge Base Article - Preview

3076754 - Classification and attributes cannot be properly replicated to Commerce due to an error "Value for attribute [ClassAttributeAssignment.classificationClass] cannot be set or changed"

Symptom

When replicating Classification from any SAP Backend system to SAP Commerce following error may occur:

{"timeMillis":1624269056330,"thread":"hybrisHTTP19","level":"DEBUG","loggerName":"de.hybris.platform.odata2services.odata.errors.CustomODataExceptionAwareErrorCallback","message":"Exception details","thrown":
{"commonElementCount":0,"localizedMessage":"Value for attribute [ClassAttributeAssignment.classificationClass] cannot be set or changed","message":"Value for attribute [ClassAttributeAssignment.classificationClass] cannot be set or changed","name":"de.hybris.platform.inboundservices.persistence.populator.UnmodifiableAttributeException","cause":
{"commonElementCount":160,"localizedMessage":"Attribute qualifier 'classificationClass' does not have correspoinding setter/getter","message":"Attribute qualifier 'classificationClass' does not have correspoinding setter/getter","name":"de.hybris.platform.servicelayer.exceptions.AttributeNotSupportedException","cause":
{"commonElementCount":160,"localizedMessage":"Attribute qualifier 'classificationClass' does not have correspoinding setter/getter","message":"Attribute qualifier 'classificationClass' does not have correspoinding setter/getter","name":"de.hybris.platform.servicelayer.exceptions.AttributeNotSupportedException","extendedStackTrace":[
{"class":"de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter","method":"checkMethodExist","file":"ItemModelConverter.java","line":1343,"exact":false,"location":"coreserver.jar","version":"?"},
Above error causes the classification cannot be properly saved therefore replicated materials/products are not assigned to appropriate Category and don't contain its attributes.


Read more...

Environment

SAP Commerce

Product

SAP Commerce all versions

Keywords

classification replication , KBA , CEC-SCC-INT-IAPI , Integration APIs , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.