Bug 697586 - js error 'jQuery is undefined' loading sparkline reference in browser
Summary: js error 'jQuery is undefined' loading sparkline reference in browser
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
low vote
Target Milestone: ---
: ---
Assignee: Simeon Pinder
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-18 16:49 UTC by Simeon Pinder
Modified: 2011-10-04 19:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-24 01:07:36 UTC


Attachments (Terms of Use)
js error message. (33.10 KB, image/png)
2011-04-18 16:49 UTC, Simeon Pinder
no flags Details

Description Simeon Pinder 2011-04-18 16:49:41 UTC
Created attachment 492940 [details]
js error message.

Description of problem:
Javascript error finding jQuery reference in browser.  See the problem reported in IE and FF. Haven't looked in other browsers but it's probably reported there as well. See screenshot.

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

How reproducible:
Every time. 

Steps to Reproduce:
1. Load or reload(F5) RHQ application and follow the javascript log/error messages.
2.
3.
  
Actual results:
JS errors are thrown/indicated. 

Expected results:
No JS errors occur.

Additional info:
References sparkline library specifically but sparklines are still working fine. This is likely a leftover reference.

Comment 1 Simeon Pinder 2011-04-26 14:34:00 UTC
commit hash: db8e16937f9

Commenting usage of jquery in CoreGui.html as causing above js error messages. 
Dumped caches in browsers and both i)Dashboard Single Metric graph and ii)Sparklines on Group/Resource continue to work.

As there is no compile/build time checking for JS dependencies I'm leaving this in place for next few days in case there is some additional dependencies that I'm not aware of.

Comment 2 Mike Foley 2011-04-27 11:40:46 UTC
verified using FF plugin Firebug.  Firebug had previously shown the error ... but now not.

Comment 3 Corey Welton 2011-05-24 01:07:36 UTC
Bookkeeping - closing bug - fixed in recent release.


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