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)

Reply via email to