You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Joseph Smarr (JIRA)" <ji...@apache.org> on 2008/09/08 09:10:44 UTC

[jira] Created: (SHINDIG-576) change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java

change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java
----------------------------------------------------------------------------------------------------------------------

                 Key: SHINDIG-576
                 URL: https://issues.apache.org/jira/browse/SHINDIG-576
             Project: Shindig
          Issue Type: Bug
          Components: RESTful API (Java)
            Reporter: Joseph Smarr


As per the 0.8.1 alignment with PortableContacts, the name.unstructured field should now be name.formatted, and there should be a top level displayName field, which is required, and in general will be the same as name.formatted, but could be something else if name is missing (e.g. nickname, email, company, or whatever is the primary textual description of this contact).

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


[jira] Commented: (SHINDIG-576) change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java

Posted by "Chris Chabot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629236#action_12629236 ] 

Chris Chabot commented on SHINDIG-576:
--------------------------------------

Yea sorry for mixing the 2 up :)

> change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-576
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-576
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>            Reporter: Joseph Smarr
>            Assignee: Cassie Doll
>
> As per the 0.8.1 alignment with PortableContacts, the name.unstructured field should now be name.formatted, and there should be a top level displayName field, which is required, and in general will be the same as name.formatted, but could be something else if name is missing (e.g. nickname, email, company, or whatever is the primary textual description of this contact).

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


[jira] Commented: (SHINDIG-576) change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java

Posted by "Chris Chabot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629091#action_12629091 ] 

Chris Chabot commented on SHINDIG-576:
--------------------------------------

On the list Cassie Doll responded:

"No - these are not the correct changes. The javascript api should not have
changed at all. The jsonrpccontainer.js file converts the gender field from
a string into an enum and should also be fixing up the name fields.

Is the php land still on the restfulcontainer.js file? Maybe you just need
to copy the conversions I did in jsonrpccontainer to the restfulctonainer.
(I actually have a todo to pull it into a separate file because we will
probably need very similar code for opensocial8to9.js (when we write it) -
so pulling it into a separate file would get both containers on the right
track)"

Since we are currently using the restfulcontainer code, it seems our solution is to copy the conversions from the jsonrpccontainer.js implementation.

> change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-576
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-576
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>            Reporter: Joseph Smarr
>
> As per the 0.8.1 alignment with PortableContacts, the name.unstructured field should now be name.formatted, and there should be a top level displayName field, which is required, and in general will be the same as name.formatted, but could be something else if name is missing (e.g. nickname, email, company, or whatever is the primary textual description of this contact).

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


[jira] Resolved: (SHINDIG-576) change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java

Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassie Doll resolved SHINDIG-576.
---------------------------------

    Resolution: Fixed
      Assignee: Cassie Doll

> change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-576
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-576
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>            Reporter: Joseph Smarr
>            Assignee: Cassie Doll
>
> As per the 0.8.1 alignment with PortableContacts, the name.unstructured field should now be name.formatted, and there should be a top level displayName field, which is required, and in general will be the same as name.formatted, but could be something else if name is missing (e.g. nickname, email, company, or whatever is the primary textual description of this contact).

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


[jira] Commented: (SHINDIG-576) change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java

Posted by "Joseph Smarr (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629174#action_12629174 ] 

Joseph Smarr commented on SHINDIG-576:
--------------------------------------

I'm referring to the REST api output, and I believe these *are* correct changes to make there. Cassie mentioned to me last night that I should file this bug so she can fix those issues on the java side. 

> change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-576
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-576
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>            Reporter: Joseph Smarr
>
> As per the 0.8.1 alignment with PortableContacts, the name.unstructured field should now be name.formatted, and there should be a top level displayName field, which is required, and in general will be the same as name.formatted, but could be something else if name is missing (e.g. nickname, email, company, or whatever is the primary textual description of this contact).

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


[jira] Commented: (SHINDIG-576) change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java

Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629181#action_12629181 ] 

Cassie Doll commented on SHINDIG-576:
-------------------------------------

Yes - this bug is specifically for the java restful output - which does have a bug. 

Chris - the comment I made before still stands for that patch you posted to the list though. This is just a different issue with a very similar description (but oh so different as it won't change any js/gadget files :)

> change name.unstructured to name.formatted and add displayName to output of RESTful getPeople response in shindig-java
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-576
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-576
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>            Reporter: Joseph Smarr
>
> As per the 0.8.1 alignment with PortableContacts, the name.unstructured field should now be name.formatted, and there should be a top level displayName field, which is required, and in general will be the same as name.formatted, but could be something else if name is missing (e.g. nickname, email, company, or whatever is the primary textual description of this contact).

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