Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#15576 closed defect (fixed)

Parser gives poor error message on missing dojo types

Reported by: DJ Mountney Owned by: Kitson Kelly
Priority: high Milestone: 1.8
Component: Parser Version: 1.8.0b1
Keywords: Cc:
Blocked By: Blocking:


In previous versions, we would throw the error message: Could not load class [type]

In 1.8.0b we keep going, with the type set to 0, and try to do a 'id' in 0 and get an exception.

Change History (5)

comment:1 Changed 10 years ago by DJ Mountney

This occurs when using the old notation

<div data-dojo-type="does.not.exist"><div>

comment:2 Changed 10 years ago by Kitson Kelly

Owner: changed from bill to Kitson Kelly
Status: newassigned

comment:3 Changed 10 years ago by Kitson Kelly

Milestone: tbd1.8
Priority: undecidedhigh

comment:4 Changed 10 years ago by Kitson Kelly

Resolution: fixed
Status: assignedclosed

In [29094]:

Provide better error message when constructor unresolvable, fixes #15576 !strict

comment:5 Changed 9 years ago by bill

In [29412]:

fix test errors, refs #15576.

Note: See TracTickets for help on using tickets.