Ticket #13380 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

Dexterity validator yields constant error message

Reported by: tonim Owned by:
Priority: minor Milestone: 4.x
Component: Dexterity Version: 4.2
Keywords: Cc: support@…

Description

When creating a validator for a Dexterity type, as described in  http://dexterity-developer-manual.readthedocs.org/en/latest/reference/value-and-validator-adaptors.html#validators , I always get this error message:

"Raised if the Validation process fails."

If I do not use zope.schema.ValidationError but zope.interface.Invalid instead, I can customize the error message to be useful to the user (as expected). Bug in zope.schema?

Change History

comment:1 Changed 3 years ago by kleist

  • Status changed from new to confirmed
  • Component changed from Unknown to Dexterity

comment:2 Changed 3 years ago by tonim

  • Cc support@… added
Note: See TracTickets for help on using tickets.