You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Sven Kobler-Morris (JIRA)" <ji...@apache.org> on 2014/12/02 08:28:12 UTC

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

     [ https://issues.apache.org/jira/browse/OLINGO-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Kobler-Morris reassigned OLINGO-502:
-----------------------------------------

    Assignee: Sven Kobler-Morris

> 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
>            Assignee: Sven Kobler-Morris
>            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)