Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-502

Reference error in net.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • (JS) V4 4.0.0
    • None
    • odata4-client-JS
    • None

    Description

      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

      Attachments

        Activity

          People

            koblers Sven Kobler-Morris
            Lilienthal Ole Lilienthal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: