SAP Knowledge Base Article - Preview

3246374 - B2BCustomerValidEmail Constrain cannot be updated

Symptom

  • Error while updating B2BCustomerValidEmail 

  • Following exception in console logs:

      "thrown": {
        "message": "Object 8796158624724 could not be saved",
        "commonElementCount": 0,
        "localizedMessage": "Object 8796158624724 could not be saved",
        "name": "com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectSavingException",
        "extendedStackTrace": [
          {
            "file": "DefaultPlatformObjectFacadeStrategy.java",
            "location": "classes/",
            "line": 174,
            "exact": false,
            "class": "com.hybris.backoffice.cockpitng.dataaccess.facades.object.DefaultPlatformObjectFacadeStrategy",
            "version": "?",
            "method": "save"
          },

....

          "cause": {
            "message": "[de.hybris.platform.validation.interceptors.AttributeConstraintValidator@1e616d4b]:Invalid constraint class: org.hibernate.validator.constraints.Email for attribute: email in type: ComposedTypeModel (8796137619538@4)",
            "commonElementCount": 121,
            "localizedMessage": "[de.hybris.platform.validation.interceptors.AttributeConstraintValidator@1e616d4b]:Invalid constraint class: org.hibernate.validator.constraints.Email for attribute: email in type: ComposedTypeModel (8796137619538@4)",
            "name": "de.hybris.platform.servicelayer.interceptor.ValidationConfigurationException",
            "extendedStackTrace": [
              {
                "file": "AttributeConstraintValidator.java",
                "location": "validationserver.jar",
                "line": 70,
                "exact": false,
                "class": "de.hybris.platform.validation.interceptors.AttributeConstraintValidator",
                "version": "?",
                "method": "onValidate"
              },


Read more...

Environment

SAP Commerce Cloud 

Keywords

validation , KBA , CEC-COM-CPS , SAP Commerce , 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.