cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Validator issue in Cuppy with Hybris 6.2

0 Kudos

I am trying to create a custom validator for cuppy following the steps mentioned in Trail>CoreTrail>ValidationService. [https://help.hybris.com/6.2.0/hcd/94a4e5bf02a1463287fb3f2f00c6d5d3.html#loio0bebc0412a394395b9563a44...] when I try to create the Validator, i am getting this error(Refer Image). error message: "[de.hybris.platform.validation.interceptors.AttributeConstraintValidator@44def69a]: [de.hybris.platform.validation.interceptors.AttributeConstraintValidator@44def69a]:Invalid constraint class: de.hybris.platform.cuppytrail.constraints.NotEmptyCuppy for attribute: name in type: ComposedTypeModel (8796108914770@1)"

Can anyone please help me out on this?

Regards, Bhavik

[2]: https://help.hybris.com/6.2.0/hcd/94a4e5bf02a1463287fb3f2f00c6d5d3.html#loio0bebc0412a394395b9563a44...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Bhavik,

As the workaround, please use impex import on master tenant posted below under Testing the validation section (essentialdataValidationConstraints.impex).

Best regards, Piotr

0 Kudos

Thank you . The solution you suggested worked successfully

Answers (0)