You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Nagy Attila (JIRA)" <ji...@apache.org> on 2009/03/03 12:18:56 UTC

[jira] Created: (SHINDIG-959) supportedFields config misleading in container.js

supportedFields config misleading in container.js
-------------------------------------------------

                 Key: SHINDIG-959
                 URL: https://issues.apache.org/jira/browse/SHINDIG-959
             Project: Shindig
          Issue Type: Bug
          Components: Javascript 
    Affects Versions: trunk, 1.0.0-rc1, 1.0.x-incubating
            Reporter: Nagy Attila


The default config/container.js suggests that complex fiels like name should be specified in the following format:

"supportedFields": {"person": ["id", "name": ["familyName", givenName"....] ]}

Unfortunately this is not handled neither in the restful nor the rpc container.

In fact evertyhing works well, if the above is specified as the following:
"supportedFields": {"person": ["id", "name"...],
                                   "name": ["familyName", "givenName"]}

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


[jira] Updated: (SHINDIG-959) supportedFields config misleading in container.js

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

Nagy Attila updated SHINDIG-959:
--------------------------------

    Attachment: shindig_config_supportedFields.patch

Patch to alter config/container.js the way the container expects it.

> supportedFields config misleading in container.js
> -------------------------------------------------
>
>                 Key: SHINDIG-959
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-959
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: trunk, 1.0.0-rc1, 1.0.x-incubating
>            Reporter: Nagy Attila
>         Attachments: shindig_config_supportedFields.patch
>
>
> The default config/container.js suggests that complex fiels like name should be specified in the following format:
> "supportedFields": {"person": ["id", "name": ["familyName", givenName"....] ]}
> Unfortunately this is not handled neither in the restful nor the rpc container.
> In fact evertyhing works well, if the above is specified as the following:
> "supportedFields": {"person": ["id", "name"...],
>                                    "name": ["familyName", "givenName"]}

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