Bug 1136014

Summary: query.cgi: a blank row is added to Custom Search each time the user clicks Back on buglist.cgi
Product: [Community] Bugzilla Reporter: Rony Gong 🔥 <qgong>
Component: Query/Bug ListAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Jeff Fearn 🐞 <jfearn>
Severity: low Docs Contact:
Priority: low    
Version: 4.4CC: jfearn
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-01 01:16:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1260009    
Bug Blocks:    
Attachments:
Description Flags
capture screen none

Description Rony Gong 🔥 2014-09-01 12:58:54 UTC
Created attachment 933361 [details]
capture screen

Description of problem:
It add a blank search condition box when click back button from search list page

Version-Release number of selected component (if applicable):
4.4.5025

How reproducible:
Always

Steps to Reproduce:
1.In the advanced search page, in the custom search set:
Reporter: contains the string : qgong
2.Do search, in the search list page click "back" button of browser
3.then update custom search as:
Reporter: contains the string : szhou
4.Do search and return back

Actual results:
Each return back will add a blank search condition box

Expected results:
No change from last search page when return.

Additional info:

Comment 1 Jason McDonald 2014-09-02 02:03:59 UTC
I can reproduce this bug in both Firefox and Chrome.

Comment 2 Rony Gong 🔥 2015-08-28 01:57:19 UTC
This kind of error also exist after you click the button 'Refresh Version/Releases/Milestones' in advanced search page.

Comment 3 Jason McDonald 2015-09-28 01:09:04 UTC
This bug may end being obsoleted by Bug 1260009, depending on how much that changes the UI.

Comment 5 Jeff Fearn 🐞 2022-10-21 00:52:30 UTC
On QA server.

1: Got to advanced search
2: Add custom search condition "Reporter" "contains the string"
3: set value to qgong
4: search
5: click back button
6: set value to szhou 
7: search
8: click back button
9: repeat steps 3..8 a few times

There is only ever 1 empty row in the custom search section.

Passed.

Comment 6 Jeff Fearn 🐞 2022-10-27 02:55:39 UTC
The fix for this issue has been deployed to the stage server for a short period of public testing.

https://bugzilla.stage.redhat.com

Comment 7 Jeff Fearn 🐞 2022-11-01 01:16:37 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.