Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37913

Summary: reporting bug with opera (7.23) creates javascript error
Product: Gentoo Infrastructure Reporter: Elan Ruusamäe <glen>
Component: BugzillaAssignee: Benjamin Coles <sj7trunks>
Status: RESOLVED WONTFIX    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Elan Ruusamäe 2004-01-11 15:33:04 UTC
the error apperas when i select component:


Event thread: onchange
Error:
name: TypeError
message: Statement on line 11: Expression evaluated to null or undefined and is not convertible to Object: description
Backtrace:
  Line 11 of inline#2 script in http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux%20Bugzilla&format=guided
    description.innerHTML = descriptions[componentIndex];
  In unknown script
    PutDescription();
  At unknown location
    {event handler trampoline}

Reproducible: Always
Steps to Reproduce:
Comment 1 Benjamin Coles 2004-01-14 21:11:22 UTC
did you check to see if this bug was a opera bug first? It works fine under the Windows opera I have running to test this
Comment 2 Benjamin Coles 2004-01-18 09:02:54 UTC
works per gora@gentoo.org
Comment 3 Elan Ruusamäe 2004-05-24 16:44:10 UTC
well, did you have alert javascript errors option turned on?

there's no object called 'description' on document. at least simple search did not reveal any. and therefore description evaluates to null
            var description = document.getElementById('description');


try opening 'enter new bug page' and enter this on location bar, you should get alert box with 'null'

javascript:alert(document.getElementById('description'))

when i compared html rendered for konqueror, then for opera there's really one part of html missing,  this <td></td> is empty:

          <td valign="top" width="100%">
              <div id="description" style="color: green; margin-left: 10px;
                                           height: 5em; overflow: auto;">
                Select a component to see its description here.
              </div>
          </td>

when i switched opera's identity to Mozilla/5.0 the block appeared (but not with MSIE 6.0)

so, i'm re-opening the bug, as the issue is really out there.
and the browser version is Opera 7.50-r1.
Comment 4 Kurt Lieber (RETIRED) gentoo-dev 2004-08-27 04:38:52 UTC
bugzilla bug.  while it may be a valid bug, it doesn't impair the functionality of the site.  I was able to comment/update/close bugs using Opera.

closing as wontfix.