Open Bug 165836 Opened 22 years ago Updated 2 years ago

Radio restore should choose a default value if the inputs have changed.

Categories

(Core :: Layout: Form Controls, defect)

defect

Tracking

()

Future

People

(Reporter: caillon, Unassigned)

References

(Depends on 1 open bug)

Details

<jkeiser> caillon: I wish I could think of a clean, consistent way to do radio restore <jkeiser> caillon: (well, it's clean and consistent now, it just doesn't handle your case :) <caillon> jkeiser: yeah... is there any way to move the logic in my JS patch into c++ somehow? (Editors note: the patch is on bug 20092) <jkeiser> caillon: I can't see a way without perf problems currently--not impossible, though <caillon> right. <jkeiser> caillon: it would at least handle static pages that don't create radios with JS <jkeiser> caillon: we could potentially create an array of radio groups that have been created that we need to check to see if there is anything checked on <jkeiser> caillon: we could do it efficiently then; and remove the array when we're done processing <caillon> jkeiser: that seems like a good idea. <jkeiser> caillon: go ahead and file a bug ... I'll put it on the ever-growing short list :)
Status: NEW → ASSIGNED
Marking dependent on "Move Save/Restore Out of Layout"
Depends on: 166636
Priority: -- → P3
Target Milestone: --- → Future
I got an error submitting a bug to bugzilla. It exactly happen when I press Commit button. I attach you the page error message referencing this bug. Bugzilla Version 2.19.1+ Internal Error Bugzilla has suffered an internal error. Please save this page and send it to bugzilla-admin@mozilla.org with details of what you were doing at the time this message appeared. URL: https://bugzilla.mozilla.org/process_bug.cgi Form field knob was not defined; if you are using Mozilla, this is probably bug 165836. Check that the "Leave as..." radio button was selected. Actions: Home | New | Search | bug # | Reports | My Requests | My Votes | Log out efa@iol.it Edit: Prefs Saved Searches: My Bugs
For what it's worth, I ran into this problem when I submitted a comment on a Bugzilla bug, was notified of a mid-air with someone who added themself to the cc: list, then hit the back button copied my comment to the clipboard, and hit ctrl-r to reload the bug report before resubmitting my comment. Upon resubmission, Bugzilla complained about a missing knob (its parlance for "you didn't select a radio button from the list of actions just above the commit button"), and indeed, no radio was selected when I went back to the bug report, nor did one become selected (even though the HTML selected one by default) when I reloaded the page yet again.
I just encountered this error on our Bugzilla system using Firefox 1.0.4. I just used the browser back button, noticed that none of the radio buttons was selected for the choices below the "Additional Comments" box. I selected the "Leave as" choice and my update to the Bug was accepted. Scott
I just hit this with Firefox 1.5.0.2 (OS X), confusingly. I'll try to reproduce.
Assignee: john → nobody
Status: ASSIGNED → NEW
QA Contact: tpreston → layout.form-controls
OS: Linux → All
Priority: P3 → --
Hardware: PC → All
I hit this when refreshing a bug on Bugzilla on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060804 BonEcho/2.0b1.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.