Open Bug 946428 Opened 11 years ago Updated 10 years ago

editing custom query throws "TypeError: nested[(nested.length - 1)] is undefined" javascript error

Categories

(Bugzilla :: Query/Bug List, defect)

4.2.7
defect
Not set
minor

Tracking

()

People

(Reporter: glob, Unassigned)

References

()

Details

      No description provided.
this happens on bugzilla/trunk too.
Component: User Interface → Query/Bug List
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: default-qa
Version: Production → 4.2.7
it looks like that query string was manually constructed outside of the bugzilla UI.

it looks like:

> f0=OP
> 
> f1=OP
> j1=OR
> 
> f2=status_whiteboard
> o2=substring
> v2=gaia-ui-test
> 
> f3=CP
> 
> f4=CP
> 
> f5=component
> o5=equals
> v5=Gaia::UI Tests

the first f field should be f1, not f0, which is causing the javascript which parses this to fail because it is skipping over f0.
Assignee: nobody → query-and-buglist
Severity: normal → minor
OS: Mac OS X → All
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.