Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#8839 closed defect (fixed)

Error from dojo.query for not-found queries when root is specified

Reported by: Paul Barrass Owned by: alex
Priority: high Milestone: 1.3
Component: Query Version: 1.3.0b2
Keywords: Cc:
Blocked By: Blocking:

Description

This is similar to #3768, but only occurs when root is specified to dojo.query.

dojo.query('#nonexistent') returns empty NodeList? but dojo.query('#nonexistent',someDiv) throws "TypeError?: node is null"

dojo.query('div#nonexistent',someDiv) appears to work (returns empty NodeList?)

This is for 1.3.0b3 (which isn't currently available in trac Version), but worked fine in beta1 (I'm not sure about beta2, it was so shortlived I never used it)

Change History (3)

comment:1 Changed 11 years ago by Adam Peller

Owner: changed from anonymous to alex

comment:2 Changed 11 years ago by James Burke

Milestone: tbd1.3
Resolution: fixed
Status: newclosed

No svn sync. Fixed in [17001].

comment:3 Changed 10 years ago by bill

Component: CoreQuery
Note: See TracTickets for help on using tickets.