Opened 2 years ago

Last modified 18 months ago

#18922 assigned defect

dojo/request/node does not trigger notify.onsend

Reported by: jami_me Owned by: dylan
Priority: high Milestone: 1.14
Component: Events Version: 1.11.2
Keywords: Cc:
Blocked By: Blocking:

Description

The following code should trigger an breakpoint - it does not.

define(['dojo/request/node',
    'dojo/request/notify'
], function (node, notify) {
    'use strict';

    notify('send', function () {
        debugger;
    });

    node('http://example.com');
});

Recommendation to add the following to line 72 of dojo/request/node

if(util.notify){
    util.notify.emit('send', response, def.cancel);
}

Change History (4)

comment:1 Changed 2 years ago by dylan

Milestone: tbd1.12.1

comment:2 Changed 2 years ago by dylan

Milestone: 1.12.11.12.2

Moving 1.12.1 tickets to 1.12.2

comment:3 Changed 2 years ago by dylan

Milestone: 1.12.21.12.3
Priority: undecidedhigh
Status: newassigned

comment:4 Changed 18 months ago by dylan

Milestone: 1.12.31.14
Note: See TracTickets for help on using tickets.