Closed Bug 417453 Opened 16 years ago Closed 16 years ago

Reject "choose" as a rating value in our form-submission checks

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: cpollett)

References

()

Details

The Submit form at https://remora-reskin.stage.mozilla.com/en-US/firefox/addon/1865 lets you submit " " with a rating value of 'choose'.

Conversely, the form-checking behavior at https://remora-reskin.stage.mozilla.com/en-US/firefox/reviews/add/1865 insists that "The rating must be a number".

Pretty sure, then, we should change https://remora-reskin.stage.mozilla.com/en-US/firefox/addon/1865 to not accept "choose" as a value.
Meant to add: "choose" isn't currently a value in https://remora-reskin.stage.mozilla.com/en-US/firefox/reviews/add/1865 and friends; that's covered by bug 417445, and bug 417442 more generally covers the discrepancy between the way ratings are currently implemented.
This is related to bug 417445
Assignee: nobody → cpollett
Target Milestone: --- → 3.2
patch to bug 417445. does not accept choose as a value on both forms. If that patch is okay this bug would be resolved to
patch to 417445 has been committed so should also have fixed this bug
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Verified FIXED on https://preview.addons.mozilla.org
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.