Skip to content

Prevent errors in case of public methods without validator #32

@lmignon

Description

@lmignon

If a public method is declared into a rest.service without validator, an error will be raised when accessing the swagger definition and prevent it's normal display.

We should at least avoid this kind of crash and display a proper error.
Thinking further, I think we should put in place a mechanism that detects this type of inconsistency (public method without a validator) and prevents Odoo from starting in such cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstalePR/Issue without recent activity, it'll be soon closed automatically.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions