Skip to Content

Custom Validator issue in Cuppy with Hybris 6.2

alt text

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#loio0bebc0412a394395b9563a44cbf2c322] 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#loio0bebc0412a394395b9563a44cbf2c322

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2016 at 01:16 PM

    Hi Bhavik,

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

    Best regards, Piotr

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.