Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1072

jsonrpccontainer fails when social/rpc calls return a 401

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1-BETA1
    • None
    • Javascript
    • None

    Description

      jsonrpccontainer.js can fail due to /social/rpc returning 401 errors in this loop in jsoncontainer.js:

      for (var k = 0; k < requestObjects.length; k++) {
      var request = requestObjects[k];
      var response = result[k];
      ...
      }
      In this case the result array is not set properly (due to the aforementioned 401) We have this in result instead:

      {"message":"unauthorized: The request did not have a proper security token nor oauth message and unauthenticated requests are not allowed","code":401}

      Attachments

        Activity

          People

            plindner Paul Lindner
            plindner Paul Lindner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: