You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2009/05/29 23:50:45 UTC

[jira] Created: (SHINDIG-1072) jsonrpccontainer fails when social/rpc calls return a 401

jsonrpccontainer fails when social/rpc calls return a 401
---------------------------------------------------------

                 Key: SHINDIG-1072
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1072
             Project: Shindig
          Issue Type: Bug
          Components: Javascript 
    Affects Versions: trunk
            Reporter: Paul Lindner
            Assignee: Paul Lindner


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}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.