Opened 9 years ago

Last modified 9 years ago

#16036 closed defect

dojox\mdnd\adapter\DndFromDojo.js BUG! — at Version 1

Reported by: Alexandre Owned by: bill
Priority: undecided Milestone: 1.8.2
Component: DnD Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Hello people!

I have problem with new DOJO 1.8, any page that uses dojox\mdnd\adapter\DndFromDojo? has the follow bug:

SOUCE: dojox\mdnd\adapter\DndFromDojo?.js

LINE: (51) this._dojoManager = dojo.dnd.manager();

ERROR: _1.dnd.manager is not a function Source

How to test? Run the sample:

I see these errors in other sources, because dojo.dnd.manager do not exists was replaced for dojo.dnd.Manager (M [uppercase])


Change History (2)

Changed 9 years ago by Alexandre

Attachment: dojo.png added

Firebug error

comment:1 Changed 9 years ago by bill

Description: modified (diff)
Milestone: tbd1.8.2
Owner: changed from Eugene Lazutkin to bill
Status: newassigned

One issue is that dojox/mdnd/adapter/DndFromDojo.js wasn't converted properly to AMD: it's still trying to use the dojo variable to get dojo.dnd.manager.

But also, looks like dojo/dnd/Manager.js is not correctly setting dojo.dnd.manager, which is a break in backwards compatibility.

Note: See TracTickets for help on using tickets.