You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Dan Dumont (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/07 18:05:29 UTC

[jira] [Resolved] (SHINDIG-1569) Change osapi._registerMethods to 'last one in wins'

     [ https://issues.apache.org/jira/browse/SHINDIG-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Dumont resolved SHINDIG-1569.
---------------------------------

    Resolution: Fixed
    
> Change osapi._registerMethods to 'last one in wins'
> ---------------------------------------------------
>
>                 Key: SHINDIG-1569
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1569
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>            Reporter: Dan Dumont
>            Priority: Minor
>
> While debugging using a container cross-site from where shindig is hosted, I ran into trouble using:
>   config[osapi.container.ServiceConfig.API_PATH] = '/rpc';
>   config[osapi.container.ServiceConfig.API_HOST] = // A url to a proxy on the host server that points to the shindig server.
> I found that the osapi.container.Service.prototype.registerOsapiServices function was defining methods that never ended up sticking, because other methods would beat it to the punch.
> This resulted in the above settings never taking hold.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira