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

Person API should handle "-1" as a user id

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.0-beta2
    • Component/s: None
    • Labels:
      None

      Description

      Section 2.1.1.1 of the Social Server API spec indicates that when a GET request is made to the person API with a user id of -1 we should return the anonymous user. Today we are throwing an exception because we look for a person with -1 as their id in the canonicaldb and we can't find it.

      http://opensocial-resources.googlecode.com/svn/spec/trunk/Social-API-Server.xml#rfc.section.2.1.1.1

        Attachments

          Activity

            People

            • Assignee:
              rbaxter Ryan Baxter
              Reporter:
              rbaxter Ryan Baxter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: