Bug 721397 - Filter on Reserve Workflow page doesn't work
Summary: Filter on Reserve Workflow page doesn't work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: ---
Assignee: Raymond Mancy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-14 13:56 UTC by Aleš Mareček
Modified: 2015-05-04 02:16 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-31 06:06:25 UTC


Attachments (Terms of Use)
Screenshot (51.02 KB, image/jpeg)
2011-07-14 15:05 UTC, Aleš Mareček
no flags Details

Description Aleš Mareček 2011-07-14 13:56:50 UTC
Description of problem:
When I run "Reserve Workflow" and change "Distro Family" to "RedhatEnterpriseLinux6" filter is ignored and other versions are listed (RHEL-5.7, RHEL-5.6, RHEL-4, ...). It seems that filter does strange things because it does something for a few seconds but in the end it doesn't work.

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

How reproducible:
Alway

Steps to Reproduce:
1. Go to https://beaker.engineering.redhat.com/reserveworkflow/
2. Use filter, choose Arch: i386, x86_64, ppc64, s390x; Distro Family: "RedhatEnterpriseLinux6"; Tag: INSTALLS 
3. Wait for results in "Distro"
  
Actual results:
Filter doesn't work

Expected results:
Working filter

Additional info:

Comment 1 Bill Peck 2011-07-14 14:05:31 UTC
I tried to reproduce this and can't.  What browser and version are you using?

Comment 2 Aleš Mareček 2011-07-14 14:37:49 UTC
firefox-3.6.18-1.el6_1.x86_64, RHEL-6.2 nightly.

Comment 3 Aleš Mareček 2011-07-14 15:05:54 UTC
Created attachment 513204 [details]
Screenshot

Comment 4 Raymond Mancy 2011-07-14 15:16:56 UTC
Can you check for any javascript errors on your browser ?

Comment 5 Bill Peck 2011-07-14 15:17:53 UTC
Can you give me the output of the javascript error console?

Under firefox use Ctrl+Shift+J  when the error console comes up please hit the clear button and then reload the reserve page and do the selections over.

Please attach the output here.

Thanks

Comment 6 Aleš Mareček 2011-07-14 15:30:32 UTC
It seems there is nothing special...

ALL:
====
1.
Warning: Unknown property 'border-radius'.  Declaration dropped.
Source File: https://beaker.engineering.redhat.com/static/css/layout-uncompressed.css
Line: 511

2.
Warning: Error in parsing value for 'padding'.  Declaration dropped.
Source File: https://beaker.engineering.redhat.com/static/css/layout-uncompressed.css
Line: 520

3.
Warning: Unknown property 'border-radius'.  Declaration dropped.
Source File: https://beaker.engineering.redhat.com/static/css/layout-uncompressed.css
Line: 710


AD 1:	border-radius: 0.25em;
AD 2:	padding: 1 1 1 1;
AD 3:	border-radius: 0.25em;

Comment 7 Aleš Mareček 2011-07-14 15:32:19 UTC
If you want some output from Firebug I can provide it.

Comment 8 Aleš Mareček 2011-07-14 15:36:08 UTC
Firebug says:
<select id="reserveworkflow_form_distro_family" class="singleselectfield requiredfield" name="distro_family">
<option value="" selected="true">None Selected</option>
<option value="" selected="true"></option>
...

Comment 9 Aleš Mareček 2011-07-14 15:40:36 UTC
and to follow it, there is probably bad array initialized across to all distribution:

<script type="text/javascript">
1
2var rw = new ReserveWorkflow("reserveworkflow_form_arch","reserveworkflow_form_distro_family",
3 "reserveworkflow_form_tag","reserveworkflow_form_distro","reserveworkflow_form_search","reserveworkflow_form_auto_pick",
4 "","","",
5 [["i386", "i386"],["x86_64", "x86_64"],["ia64", "ia64"],["ppc", "ppc"],["ppc64", "ppc64"],["s390", "s390"],["s390x", "s390x"]],[["", "None Selected"],["", ""],["Fedora6", "Fedora6"],["Fedora7", "Fedora7"],["Fedora8", "Fedora8"],["Fedora9", "Fedora9"],["Fedora10", "Fedora10"],["Fedora11", "Fedora11"],["Fedora12", "Fedora12"],["Fedora13", "Fedora13"],["Fedora14", "Fedora14"],["Fedora15", "Fedora15"],["Fedoradevelopment", "Fedoradevelopment"],["Inventory0", "Inventory0"],["inventory", "inventory"],["redhat6", "redhat6"],["RedHatEnterpriseLinux0", "RedHatEnterpriseLinux0"],["RedHatEnterpriseLinux3", "RedHatEnterpriseLinux3"],["RedHatEnterpriseLinux4", "RedHatEnterpriseLinux4"],["RedHatEnterpriseLinux6", "RedHatEnterpriseLinux6"],["RedHatEnterpriseLinux66", "RedHatEnterpriseLinux66"],["RedHatEnterpriseLinuxClient4", "RedHatEnterpriseLinuxClient4"],["RedHatEnterpriseLinuxClient5", "RedHatEnterpriseLinuxClient5"],["RedHatEnterpriseLinuxServer4", "RedHatEnterpriseLinuxServer4"],["RedHatEnterpriseLinuxServer5", "RedHatEnterpriseLinuxServer5"],["RHEL5", "RHEL5"],["RHEV-2-2", "RHEV-2-2"],["STABLE", "STABLE"]],[["", "None Selected"],["STABLE", "STABLE"],["RELEASED", "RELEASED"],["INSTALLS", "INSTALLS"],["REL", "REL"],["ST", "ST"],["BLOODBATH", "BLOODBATH"],["I CAN ADD ANY TAG I WANT", "I CAN ADD ANY TAG I WANT"],["RHEL5.4-Server-20090819.0", "RHEL5.4-Server-20090819.0"],["RHEL-5_4-Z-branch", "RHEL-5_4-Z-branch"],["RHEL-5_3-Z-branch", "RHEL-5_3-Z-branch"],["v", "v"],["RHEL-4_8-Z-branch", "RHEL-4_8-Z-branch"],["RHEL-4_7-Z-branch", "RHEL-4_7-Z-branch"],["RHEL5.3", "RHEL5.3"],["RHEL-5_2-Z-branch", "RHEL-5_2-Z-branch"],["RHEL-5.5-Server-Alpha-1.0_nfs-5-ppc64 ", "RHEL-5.5-Server-Alpha-1.0_nfs-5-ppc64 "],["RHEL-5_5-Z-branch", "RHEL-5_5-Z-branch"],["%Sanpshot4%", "%Sanpshot4%"],["BROKEN", "BROKEN"],["RHEL-6_0-Z-branch", "RHEL-6_0-Z-branch"],["Active", "Active"],["RHEL-5_6-Z-branch", "RHEL-5_6-Z-branch"],["RHEL6.1-RC-3.0", "RHEL6.1-RC-3.0"],["RHEL-6.1-RC-4.0", "RHEL-6.1-RC-4.0"],["RHEL-6.1-RC-5.1", "RHEL-6.1-RC-5.1"],["RHEL-6.1-RC-1.0", "RHEL-6.1-RC-1.0"],["RHEL-6_1-Z-branch", "RHEL-6_1-Z-branch"],["", ""]])
6rw.set_remotes("./get_distro_options","./find_systems_for_distro","./find_systems_for_multiple_distros","./reserve")
7addLoadEvent(rw.initialize)

Comment 10 Dan Callaghan 2012-08-29 23:00:32 UTC
Aleš, can you still reproduce this problem? The reserve workflow page underwent substantial changes in Beaker 0.9, so I am hoping this bug no longer exists.


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