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

Change osapi._registerMethods to 'last one in wins'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Javascript
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ddumont Dan Dumont
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: