Closed Bug 252599 Opened 20 years ago Closed 20 years ago

'Add a Keyword for this Search' doesn't save all form elements (checkbox, radio button)

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: Maniac, Assigned: rOmAz)

References

()

Details

(Keywords: fixed-aviary1.0)

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040718 Firefox/0.9.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040718 Firefox/0.9.1+

Many sites use a common NN4-era hack for laying out forms:

<table>
  <form action=...>
    <tr><td><input...></td></tr>
    <tr><td><input...></td></tr>
  </form>
</table>

Adding a keyword for such search doesn't include all the useful elements (e.g.
modifying checkboxes) in the bookmark created.

Reproducible: Always
Steps to Reproduce:
1. Go to http://gramota.ru/
2. Notice a form on the right side with many checked checkboxes
3. Add a keyword for this search from popup menu
4. Use a keyword

Actual Results:  
On the result page no checkboxes checked (the form is now on the left)
Keyword doesn't contain checkboxes names in URL

Expected Results:  
All checkboxes should be checked
Seeing this with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3)
Gecko/20040903 Firefox/1.0 PR (NOT FINAL) and
http://forums.mozillazine.org/search.php [search on a phpBB forum]. Perhaps it
will be easier to confirm the bug now for english-speaking people.

Other people are also seeing this -
http://forums.mozillazine.org/viewtopic.php?p=767091#767091
It seems as chekboxes and radio elements are never handled by "add keyword", the
<tr> element is not related.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Summary: 'Add a Keyword for this Search' doesn't save all form elements when form is spread across <TR>'s → 'Add a Keyword for this Search' doesn't save all form elements (checkbox, radio button)
Whiteboard: skip comment 0
QA Contact: mconnor → bugs.mano
Attached file testcase (obsolete) —
Whiteboard: skip comment 0
Attached file testcase
oops, i forgot the textbox.
Attachment #160006 - Attachment is obsolete: true
Attached patch patchSplinter Review
adds support in "Add a Keyword for this Search" for radio buttons and
checkboxes for both POST and GET methods

-rOmAz
Assignee: nobody → rOmAz
Attachment #160011 - Flags: review?(vladimir)
Comment on attachment 160011 [details] [diff] [review]
patch

a=asa for aviary checkin.
Attachment #160011 - Flags: approval-aviary? → approval-aviary+
Flags: blocking-aviary1.0?
Whiteboard: ready to land
Is someone going to land this fix? 
Whoops, forgot.  Landed on aviary.
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
Whiteboard: ready to land
Just checked on initial URL. Working indeed.
Flags: blocking-aviary1.0?
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: