Skip to content

Issue Wizard validation for problem types and subtypes probably doesn't do what it should #3087

Open
@miketaylr

Description

@miketaylr

I can't see how the following elements are ever actually validated:

https://github.com/webcompat/webcompat.com/blob/master/webcompat/static/js/lib/issue-wizard-bugform.js#L131-L161

It's possible there's a few others that aren't as well. For example, I was able to submit a request w/o a problem type and the server sent me a 400 (which is expected). It shouldn't be possible to even submit the form.

It seems like this is dead code, or just useless copypasta.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions