You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ole Lilienthal (JIRA)" <ji...@apache.org> on 2014/12/01 13:58:12 UTC

[jira] [Created] (OLINGO-502) Reference error in net.js

Ole Lilienthal created OLINGO-502:
-------------------------------------

             Summary: Reference error in net.js
                 Key: OLINGO-502
                 URL: https://issues.apache.org/jira/browse/OLINGO-502
             Project: Olingo
          Issue Type: Bug
          Components: odata4-client-JS
    Affects Versions: (JS) V4 4.0.0-beta-02
            Reporter: Ole Lilienthal
            Priority: Minor


lib/odata/net.js

Line 155:
xhr.on('error', function(e) {
    //console.log('_22'+e);
    var response = { requestUri: url, statusCode: 400, statusText: e.message, headers: headers, body: body };
    error({ message: "HTTP request failed", request: request, response: response });
});

Variables headers and body are not defined in this context. I guess it should be request.headers



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)