Closed Bug 438004 Opened 18 years ago Closed 15 years ago

Every time a buglist has no bugs, a JS error is thrown (exception thrown for query with no results)

Categories

(bugzilla.mozilla.org :: General, defect)

defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: LpSolit, Unassigned)

References

Details

On b.m.o, run a query which returns no bugs. The following JS error is thrown due to sorttable.js: Erreur : [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLTableSectionElement.appendChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: https://bugzilla.mozilla.org/js/sorttable.js :: anonymous :: line 50" data: no] Fichier Source : https://bugzilla.mozilla.org/js/sorttable.js Ligne : 50 It seems it tries to add <thead> despite there is no table as there is no bugs found. We should first check if the table exists and do nothing if not.
Summary: Every time a buglist has no bugs, a JS error is thrown → Every time a buglist has no bugs, a JS error is thrown (exception thrown for query with no results)
I don't get the error given above in Firefox 4.0 beta 8 on today's bmo. Gerv
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
I'd be surprised if it's gone...
Component: Bugzilla: Other b.m.o Issues → General
Product: mozilla.org → bugzilla.mozilla.org
You need to log in before you can comment on or make changes to this bug.