Opened 11 years ago

Closed 11 years ago

#7013 closed defect (fixed)

'this.avatar has no properties' after dnd in Tree

Reported by: guest Owned by: bill
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1.1
Keywords: Cc: tw@…
Blocked By: Blocking:

Description

to reproduce, go to http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/tree/test_Tree_DnD.html

  • move the Orange from 'Fruits' to 'Vegetables'
  • move the mouse out of the tree

Tested in FF2/Linux, FF3/XP. In FF3, the error message is 'this.avatar is null'

Please note, DnD actually works - I can't tell at the moment if the error causes any harm. Unfortunately, Firebug and the FF Console give strange locations (I also tested locally with an uncompressed .js) so I couldn't even locate the exact position :(

Change History (3)

comment:1 Changed 11 years ago by Eugene Lazutkin

Component: DnDDijit
Owner: changed from Eugene Lazutkin to bill

comment:2 Changed 11 years ago by bill

Milestone: 1.2
Status: newassigned
Version: 1.1.1

comment:3 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [14118]) Fixes #7013: 'this.avatar has no properties' after dnd in Tree. Calling canDrop(true/false) (to change the color of the avatar) doesn't have any meaning when there is no drag in progress, and further, causes an error. !strict

Note: See TracTickets for help on using tickets.