[
https://issues.apache.org/jira/browse/SHINDIG-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631820#action_12631820
]
Cassie Doll commented on SHINDIG-608:
-------------------------------------
This is an incorrect statement. The new restful/rpc specs align with portable
contacts where gender is not an enum it is just a string.
So, the canonicaldb.json file is right. I believe the jsonrpccontainer/java
side is handling this correctly so i'm guessing that the php side perhaps just
has a bug.
> Gender field is not defined properly in canonicaldb.json
> --------------------------------------------------------
>
> Key: SHINDIG-608
> URL: https://issues.apache.org/jira/browse/SHINDIG-608
> Project: Shindig
> Issue Type: Bug
> Environment: windows
> Reporter: impetus technologies
> Attachments: canonicaldb.json.patch
>
>
> Gender field is defined as
> "gender" : "male" and "gender" : "female"
> that's why it is displaying "undefined" in gadgets instead of male/female.
> which should be
> "gender" : {"displayValue":"male","key":"MALE"} and "gender" :
> {"displayValue":"female","key":"FEMALE"}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.