I am using this line of code in a javascript transformer function:
localMap.put('report', report);
When I deploy the channel, I get the following error:
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "localMap" is not defined. (a84ae884-7636-4954-b0f6-aa52d59aa232#20)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.RuntimeException.<init>(RuntimeException .java:32)
at org.mozilla.javascript.RhinoException.<init>(Rhino Exception.java:50)
localMap.put('report', report);
When I deploy the channel, I get the following error:
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "localMap" is not defined. (a84ae884-7636-4954-b0f6-aa52d59aa232#20)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.RuntimeException.<init>(RuntimeException .java:32)
at org.mozilla.javascript.RhinoException.<init>(Rhino Exception.java:50)
Comment