Closed Bug 869033 Opened 13 years ago Closed 13 years ago

[socorro-crashstats] build_id in forms.py should be a more picky field

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: adrian)

References

Details

The field "Build ID" on the Advanced Filters form allows any kind of input (it's a CharField at the time of writing). It should only allow input values that look like actual Build IDs.
As an implementation note; I suggest we make a custom BuildIDField class and use that.
Assignee: nobody → adrian
Depends on: 869036
OS: Mac OS X → All
Hardware: x86 → All
Ping! This is still bother stephend's test automation. The keep coming in https://errormill.mozilla.org/webtools/socorro-crashstats-dev/group/15914/ What we need to do is catch it with validation so it never attempts to contact the middleware when the build_ids is a url looking string.
Commits pushed to master at https://github.com/mozilla/socorro-crashstats https://github.com/mozilla/socorro-crashstats/commit/4b1f144a4cdabc971700dd2bc865d8a49d51c6f4 Fixes bug 869033 - Made build_id a more picky field. r=peterbe https://github.com/mozilla/socorro-crashstats/commit/820bde03334c777500cf1fca8f137130749c49f6 Merge pull request #352 from AdrianGaudebert/869033-build-id-field Fixes bug 869033 - Made build_id a more picky field.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.