Closed Bug 385514 Opened 17 years ago Closed 16 years ago

Selecting a product in any of the Searches permanently disables other widgets

Categories

(Testopia :: Search, defect)

All
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cgalanis, Assigned: gregaryh)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: 1.2

All the search types (Test Case, Test Run, Test Plan, Test Case-Run and Test Run Environment) have the option to narrow your search by selecting the corresponding product. However, when I select any product in the list, all the following combo box search widgets, as well as the Submit button at the bottom of the page, are becoming greyed-out.

On the demo running at landfill.mozilla.org/testopia, this is not occurring, so this may be an issue with my configuration that will be closed WORKSFORME, but I'm posting this bug report anyway in case it's real or in case anyone else sees it and can provide some more info. What I notice is that on Landfill, when I click a product, the same issue occurs for a short duration (it appears to be updating the data in the other search combo boxes) after which the date in the other search criteria is updated to reflect the selected product and the widgets become enabled once more to complete the search. What I'm seeing on my setup however is that the update does not seem to complete and the widgets remain disabled permanently, even if I de-select the product again.

Reproducible: Always

Steps to Reproduce:
1. Go to the Find Test Cases page.
2. Select any product in the Product combo box

Actual Results:  
The Components and Category combo boxes and the Submit button at the bottom of the page become permanently greyed out.

Expected Results:  
The Components and Category combo boxes and the Submit button at the bottom of the page become temporarily greyed out while the combo boxes are repopulated. Once that is done, they become enabled and editable again.
Anything interesting in your Apache log files?
also, are you seeing any javascript errors?
Open the javascript console in the tools menu and try selecting a product. Do you see anything appear in the console?
Yup. I get the following error:

Could not load 'dojo.io'; last tried '__package__.js'
.../dojo/src/bootstrap1.js: Line 237 
Make sure the dojo files are readable by the webserver. 
Sorry for the delay in updating...

We adjusted the testopia/dojo files ownership settings and ensured they all are set to be readable by the group. The behavior and error still persist (though it fixed another small issue I was running into)
Can you verify that the dojo files are in tact. They live in testopia/dojo.
Look for dojo.js and the src directory.
They both appear are there. This is the contents of testopia/dojo. 

-rwxr-x---  1 root www-data   450 Oct  5  2006 DOJO_INSTALL_HELP
-rwxr-x---  1 root www-data  1359 Dec  6  2006 DojoFileStorageProvider.jar
-rwxr-x---  1 root www-data 11346 Nov 20  2006 LICENSE
-rwxr-x---  1 root www-data  6274 Nov 19  2006 README
-rwxr-xr-x  1 root www-data  2327 May 29 14:44 Storage_version6.swf
-rwxr-xr-x  1 root www-data  2973 May 29 14:44 Storage_version8.swf
-rwxr-x---  1 root www-data   132 Sep 20  2005 __package__.js
drwxr-x---  5 root www-data  4096 May 29 14:44 api
drwxr-x---  5 root www-data  4096 May 29 14:44 bench
drwxr-x---  7 root www-data  4096 May 29 14:44 buildscripts
drwxr-xr-x  3 root www-data  4096 May 29 14:44 cldr
drwxr-x---  9 root www-data  4096 May 29 14:44 demos
drwxr-x--- 10 root www-data  4096 May 29 14:44 docscripts
drwxr-x--- 14 root www-data  4096 Apr 17 12:04 documents
-rw-r--r--  1 root www-data  2497 May 29 14:44 dojo.js
-rwxr-x---  1 root www-data  1170 Apr 17  2006 flash6_gateway.swf
-rw-r--r--  1 root www-data  2364 May 29 14:44 iframe_history.html
drwxr-x---  3 root www-data  4096 Apr 17 12:02 patches
drwxr-x--- 35 root www-data  4096 May 29 14:44 src
-rwxr-x---  1 root www-data 26921 Apr 20  2006 storage_dialog.swf
drwxr-x---  3 root www-data  4096 Apr 17 12:04 templates
drwxr-x--- 38 root www-data  4096 May 29 14:44 tests
drwxr-x---  6 root www-data  4096 Apr 17 12:04 testtools
drwxr-x---  5 root www-data  4096 Apr 17 12:04 tools
What is the output of: 
   tr_query.cgi?current_tab=case&action=getversions&prod_ids=2

This should produce a list of versions and milestones. You can substitute any product id, not just 2.

If you get an error, paste it here.
{"environment":["BSP 6.0.0 / AV Player 6.0.0","Windows Vista - D3D"],"component":["audio_output_alsa","audio_output_artsd","audio_output_winmm","av","av_core","video_output_d3d","video_output_ddraw","video_output_xv"],"selectTypes":["version","milestone","component","build","category","environment"],"version":["6.0 BRANCH","6.0.0","6.0.1","head","unspecified"],"milestone":["---","M17","M18","M19"],"category":["--default--","Endurance"],"build":["6.0 BRANCH"]}

No errors.
Dojo has been removed and replaced by Ext in 2.0. I am guessing that will fix your issue. Repoen if not.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.