Re: [web2py] Custom validator broken in 2.18.4, working in 2.17.2

2019-04-05 Thread Kevin Keller
Could you create a ticket for this please? https://github.com/web2py/web2py/issues Thanks! On Thu, Apr 4, 2019 at 10:52 PM David Manns wrote: > The table in question has a field: > > Field('Paiddate', 'date', requires = [IS_EMPTY_OR(IS_DATE()), > IS_EMPTY_OR(IS_MEMBERSHIP_YEAR_END())]), >

[web2py] Custom validator broken in 2.18.4, working in 2.17.2

2019-04-04 Thread David Manns
The table in question has a field: Field('Paiddate', 'date', requires = [IS_EMPTY_OR(IS_DATE()), IS_EMPTY_OR(IS_MEMBERSHIP_YEAR_END())]), The custom validator is: class IS_MEMBERSHIP_YEAR_END(object): def __init__(self, error_message='Not a membership year end'):