After uprading an instance to Xanadu release, the execution of scripts within an application scope (not global) is not working anymore.
When executing any script, the "Output" will always be null.
This is probably caused by a change in the security logic of GlideScopedEvaluator, but for which I couldn't find an official note in the Xanadu release notes - still, the logic behind definitely changed.
As it seems, the instance will now not allow to dynamically override the associated scope (sys_scope) of a GlideRecord anymore before the GlideRecord is passed to GlideScopedEvaluator.evaluateScript(). This technique is currently used to execute scripts in another scope by Xplore within /src/Processors/snd_xplore.js at line 572-585. Thus, this is now not working anymore.
After uprading an instance to Xanadu release, the execution of scripts within an application scope (not global) is not working anymore.
When executing any script, the "Output" will always be null.
This is probably caused by a change in the security logic of GlideScopedEvaluator, but for which I couldn't find an official note in the Xanadu release notes - still, the logic behind definitely changed.
As it seems, the instance will now not allow to dynamically override the associated scope (sys_scope) of a GlideRecord anymore before the GlideRecord is passed to GlideScopedEvaluator.evaluateScript(). This technique is currently used to execute scripts in another scope by Xplore within /src/Processors/snd_xplore.js at line 572-585. Thus, this is now not working anymore.