Skip to content

TypeError when posting form data from CrudRestController #144

@ByCzech

Description

@ByCzech

Posting form data from CrudRestController causing TypeError:

TypeError: registered_validate.__init__.<locals>.Validators.validate() missing 1 required positional argument: 'state'

in File "/usr/lib/python3/dist-packages/tg/validation.py", line 89, in check
Display the sourcecode for this frameOpen an interactive python shell in this framevalidated_params = validators.validate(method, params)

TurboGears 2.5.0
tgext.crud 0.9.2 (see my pullrequest)
sprox 0.11.3 (see my pullrequest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions