Bug 1657815 - Fields in "edit search" are unset
Summary: Fields in "edit search" are unset
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: User Interface
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 5.0-RH2
Assignee: Jeff Fearn 🐞
QA Contact: Rony Gong 🔥
URL:
Whiteboard:
: 1658078 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-10 13:51 UTC by Stephen Finucane
Modified: 2019-04-19 07:39 UTC (History)
3 users (show)

Fixed In Version: 5.0.4.rh13
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-13 02:13:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Stephen Finucane 2018-12-10 13:51:48 UTC
# Description of problem:

Fields like "Version", "Target Milestone", "Target Release" etc. are unset when you attempt to edit a search. I suspect this is because of the introduction of selectize.js [1] in BZ5.

[1] https://bugzilla.redhat.com/page.cgi?id=whats-new.html#uioverhaul

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

BZ5.

# How reproducible:

Always.

# Steps to Reproduce:

1. Search for something, setting the "Version" field. For example, to search for all OpenStack Nova bugs against version "13.0 (Queens)":

     https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&classification=Red%20Hat&component=openstack-nova&list_id=9790814&product=Red%20Hat%20OpenStack&query_format=advanced&version=13.0%20%28Queens%29

2. Scroll down to the bottom of page and click "Edit Search"
3. Inspect the "Version" field

# Actual results:

The field is unset.

# Expected results:

The field should be set to "13.0 (Queens)" (the value of the search).

# Additional info:

I have previously resolved a similar with Patchwork using the same library.

    https://github.com/getpatchwork/patchwork/commit/bd528a9026d8b45588c8117f1a3120461d417c69

That fix is ugly but effective. There may be more effective ways to accomplish the same thing.

Comment 1 Jeff Fearn 🐞 2018-12-13 10:43:27 UTC
*** Bug 1658078 has been marked as a duplicate of this bug. ***

Comment 2 Rony Gong 🔥 2019-01-09 08:06:07 UTC
Verified on the commit: f6835a7
Pass.

Comment 3 Jeff Fearn 🐞 2019-02-06 07:11:14 UTC
This change has been deployed to partner Bugzilla [1] for pre-release testing, if your testing reveals any issues please update this bug.

1: https://partner-bugzilla.redhat.com/

Comment 4 Jeff Fearn 🐞 2019-02-13 02:13:29 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.


Note You need to log in before you can comment on or make changes to this bug.