Opened 12 years ago

Closed 12 years ago

#3246 closed defect (fixed)

DnD: exception when dropping on boundaries

Reported by: Eugene Lazutkin Owned by: Eugene Lazutkin
Priority: high Milestone: 0.9beta
Component: DnD Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

From my e-mail:

Hi Eugene, I get an error almost every time when an avatar is dropped on its parent source. I mean when I start dragging a node form the source and release mouse button over the same source I get this error (FireFox 1.5):

DEBUG: [TypeError: this.current has no properties, file: file:///home/ashish/MyWork/DojoToolkit/Dojo_09/dojo/src/dnd2/source.js, line: 165] when calling onDndDrop$joinpoint$method on [object Object] with arguments [object Object]]

The same problem was observed with the 'flickr_example'. If you drag an image node and drop it just at the source's right boundary. If my description confuses you, I can send u some screenshots.

Regards, Ashish Patil

Change History (3)

comment:1 Changed 12 years ago by Eugene Lazutkin

Status: newassigned

I'll try to reproduce it from this description.

comment:2 Changed 12 years ago by Eugene Lazutkin

I was able to reproduce it. It happens every time, when I move items within the current source hovering outside items (e.g., inside margins, or on the border).

I will fix it in Dojo 0.9, but not in Dojo 0.4 (dnd2) at this moment. I will port it back later.

comment:3 Changed 12 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [8883]) Bug: moving items without a current item raises an exception. Fixes #3246.

Note: See TracTickets for help on using tickets.