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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0-beta2
    • None
    • 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

        1. shindig-1769.patch
          9 kB
          Ryan Baxter

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: