Notifications

526 views

Description

Upon upgrading, switching to a different domain using the domain picker selector or reference UI Macros makes the domain look as if it has been switched. However, the action has not actually been completed and error messages listed below are generated.

Records are created in other lower domains because the instance does not switch domains and the records tend to be created in the global domain instead.

This is also an issue with data visibility as the user believes they switched domains and they are still viewing all records as if they were in global.

This issue occurs only in instances where UI16 is not installed.

Error messages:

2017-07-31 14:09:54 (382) Default-thread-1 F081EB654CD003004E827867A17F24FC WARNING *** WARNING *** undefined is not a function.
TypeError: undefined is not a function. (sys_script_include.0d7059c40a0a0aa10058f18cc215dc92.script; line 76)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:4034)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:4012)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:4040)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:4068)
at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:4132)
at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:4119)
at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:2419)
at org.mozilla.javascript.ScriptRuntime.newObjectEx(ScriptRuntime.java:2464)
at org.mozilla.javascript.gen.sys_script_include_0d7059c40a0a0aa10058f18cc215dc92_script_1417._c_anonymous_5(sys_script_include.0d7059c40a0a0aa10058f18cc215dc92.script:76)
at org.mozilla.javascript.gen.sys_script_include_0d7059c40a0a0aa10058f18cc215dc92_script_1417.call(sys_script_include.0d7059c40a0a0aa10058f18cc215dc92.script)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2648)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.mozilla.javascript.gen.sys_script_include_04064b8e0a0a0b0c00ad5c7a01879400_script_1416._c_anonymous_7(sys_script_include.04064b8e0a0a0b0c00ad5c7a01879400.script:94)
at org.mozilla.javascript.gen.sys_script_include_04064b8e0a0a0b0c00ad5c7a01879400_script_1416.call(sys_script_include.04064b8e0a0a0b0c00ad5c7a01879400.script)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2648)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2549)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:300)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:102)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2588)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.mozilla.javascript.gen.sys_script_include_d65f78c40a0a0b6900196656f35913d3_script_821._c_anonymous_2(sys_script_include.d65f78c40a0a0b6900196656f35913d3.script:34)
at org.mozilla.javascript.gen.sys_script_include_d65f78c40a0a0b6900196656f35913d3_script_821.call(sys_script_include.d65f78c40a0a0b6900196656f35913d3.script)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:563)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3421)
at org.mozilla.javascript.gen.sys_script_include_d65f78c40a0a0b6900196656f35913d3_script_821.call(sys_script_include.d65f78c40a0a0b6900196656f35913d3.script)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2648)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)
at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:2654)
at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:2626)
at com.glide.script.RhinoObject.callFunction(RhinoObject.java:169)
at com.glide.script.RhinoObject.callFunction(RhinoObject.java:165)
at com.glide.processors.xmlhttp.AJAXEvaluator.evalScriptInclude(AJAXEvaluator.java:169)
at com.glide.processors.xmlhttp.AJAXEvaluator.evaluateAjax(AJAXEvaluator.java:85)
at com.glide.processors.xmlhttp.AJAXEvaluator.process(AJAXEvaluator.java:63)
at com.glide.processors.xmlhttp.internal.XMLHttpRequestExecutor.process(XMLHttpRequestExecutor.java:110)
at com.glide.processors.xmlhttp.internal.XMLHttpRequestExecutor.process(XMLHttpRequestExecutor.java:76)
at com.glide.processors.xmlhttp.AJAXXMLHttpAggregator.process(AJAXXMLHttpAggregator.java:70)
at com.glide.processors.XMLHttpProcessor.processJavaAJAX(XMLHttpProcessor.java:151)
at com.glide.processors.XMLHttpProcessor.process(XMLHttpProcessor.java:104)
at com.glide.processors.AProcessor.runProcessor(AProcessor.java:474)
at com.glide.processors.AProcessor.processTransaction(AProcessor.java:199)
at com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:178)
at com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:167)
at com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:31)
at com.glide.sys.Transaction.run(Transaction.java:2035)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


Steps to Reproduce

 

  1. On a UI15 ONLY instance, ensure that Domain Separation plugin is installed.

    For more information, see the documentation topic Activate a plugin.

  2. On a Fuji instance with UI15, upgrade to Helsinki Patch 9a or later.

  3. Install the Domain Separation Extensions Installer plugin.

  4. Navigate to System UI > UI Macros and activate any of the base system UI Macros for the domain separation dropdown picker or reference picker.

  5. On the base system domain list table, switch to a lower domain like TOP/ACME.

    Expected behavior: Domain should switch to lower child TOP/ACME and you should not have visibility to sibling records.

    Actual behavior: All domain records are still visible.

 

 

Workaround

  1. Activate the UI16 plugin.
  2. Switch back to UI15.

 


Related Problem: PRB1107867

Seen In

There is no data to report.

Fixed In

London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-12-05 02:56:33
Published:2017-08-30