Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-132

Parameters are not passed to JavaScript over js-client in case of mode=distributed

XMLWordPrintable

    • Hide
      Despite the fact the user is able to execute JavaScript remotely over Hotrod Javascript Client, at the moment it is fully functional only in local mode. In case if the mode is set to distributed,
      it is not possible to pass parameters to the remote Javascript stored in the server.

      This is a known issue in JBoss Data Grid 7.0.0.Beta. To workaround the issue place the key/value pairs, which you would like to pass as a parameter to the script, into the cache and then access them from the remote script using "cache" and "cacheManager" predefined variables.
      Show
      Despite the fact the user is able to execute JavaScript remotely over Hotrod Javascript Client, at the moment it is fully functional only in local mode. In case if the mode is set to distributed, it is not possible to pass parameters to the remote Javascript stored in the server. This is a known issue in JBoss Data Grid 7.0.0.Beta. To workaround the issue place the key/value pairs, which you would like to pass as a parameter to the script, into the cache and then access them from the remote script using "cache" and "cacheManager" predefined variables.

      The detailed description of the bug is given here: ISPN-6441.

            rh-ee-galder Galder ZamarreƱo
            amanukya@redhat.com Anna Manukyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: