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

cache and marshaller are not passed to javascript in case of inner script running

    XMLWordPrintable

Details

    • Hide
      HotRod Java client allows execution of remote scripts like JavaScript. There are 4 several internal objects which are exposed as pre-defined bindings while the script is executed. It is also possible to call another Javascript from the Javascript and the pre-defined bindings should be passed to the inner script as well. Unfortunately currently the "cache" and "marshaller" objects are not passed to the inner script.

      This is a known issue in JBoss Data Grid 7.0.0.Beta To workaround the issue just get the "cache" and "marshaller" objects from the "cacheManager", which is passed properly.
      Show
      HotRod Java client allows execution of remote scripts like JavaScript. There are 4 several internal objects which are exposed as pre-defined bindings while the script is executed. It is also possible to call another Javascript from the Javascript and the pre-defined bindings should be passed to the inner script as well. Unfortunately currently the "cache" and "marshaller" objects are not passed to the inner script. This is a known issue in JBoss Data Grid 7.0.0.Beta To workaround the issue just get the "cache" and "marshaller" objects from the "cacheManager", which is passed properly.

    Description

      The corresponding issue in upstream is here: ISPN-6413

      Attachments

        Issue Links

          Activity

            People

              ttarrant@redhat.com Tristan Tarrant
              amanukya@redhat.com Anna Manukyan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: