Shindig
  1. Shindig
  2. SHINDIG-1072

jsonrpccontainer fails when social/rpc calls return a 401

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1-BETA1
    • Fix Version/s: None
    • Component/s: Javascript
    • Labels:
      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}

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Paul Lindner
            Reporter:
            Paul Lindner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development