1 Reply Latest reply on Sep 19, 2014 6:44 AM by Ryan Rutan

    Bug: JavaScript API does not provide context correctly on a page

      The latest Jive cloud releases introduced the new pages concept for groups.

      There is a bug in relation to this when using the jive/actions/places/* extension point for a Jive app

       

      Normally when using this extension point you can use the gadgets.actions.updateAction method to receive the context of the place where the extension is launched from.

       

      This does not work correctly when launching the extension when the user is on a page within a place.

       

      Regular context being passed:

      content

      Object { type="osapi.jive.core.Group", id=1476}

      id

      1476

      type

      "osapi.jive.core.Group"

       

      Context being returned when viewing a page:

      content

      Object { id=1476, type=""}

      id

      1476

      type

      ""

       

      While the v2 group id is being passed correctly, the v2 object type is not set, preventing correct identification of the current context.

       

      Ryan Rutan please file as a bug if verified.