Closed Bug 868548 Opened 12 years ago Closed 12 years ago

Invalid forms should (e.g., Report Abuse) should not be submittable

Categories

(Marketplace Graveyard :: Consumer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2013-05-09

People

(Reporter: krupa.mozbugs, Assigned: spasovski)

References

Details

(Whiteboard: [fireplace])

Attachments

(1 file)

Attached image screenshot (deleted) —
steps to reproduce: 1. Load https://marketplace-altdev.allizom.org/app/twitter/abuse 2. Enter some comments and click Submit observed behavior: The form submission success message shows up but the infut field hightlights in red. See screenshot. The submission returns a 201
Blocks: 859511
Summary: Report Abuse input field highlights in red after form submission → Invalid forms should (e.g., Report Abuse) should not be submittable
Davor: also please apply your toggle form fields patch to this, keeping in mind this patch: https://github.com/mozilla/fireplace/commit/3e11a02bf
Assignee: nobody → dspasovski
The fix for this is to navigate away from the form after submission. You can (in the process) remove the code in views/abuse that clears the form after submission. Note that how you get the URL in there is probably going to be terrible (another data attribute, probably). I might even consider ditching edna's macro nonsense in this case.
I don't disagree with adding toggle fields or with navigating away upon submission but I can't repro this locally using chimney (or not using chimney).
Submit a report and then submit another blank one
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-05-09
Verified as fixed in https://marketplace-altdev.allizom.org on FF23 (Win 7). Postfix screencast http://screencast.com/t/74uPIq8C Closing bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: