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. [] 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


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.