Notifications

218 views

Description

Variable Field Value is showing null in Approval Summarizer if a reference qualifier is used in the Variable definition

Steps to Reproduce

  1. Create a catalog item
  2. Create a variable of type Lookup Select Question. In Type specifications enter table : sys_user, lookup Value Field : name,
    • Reference Qualifier :javascript:'sys_idIN'+getManagerUsers();
  3. Order the item.
  4. In The generated RITM, add an approver if not already there.
  5. Open the approval record.
  6. Click on the catalog item name under summary of item being approved. It opens the variable summarizer.
  7. The value of lookup select question is null 

The following exception message will be thrown in system logs:


java.lang.NullPointerException
Caused by error in ftp://gsft_database/summarize_question.5 at line 2
com.glideapp.questionset.LookupSelectQuestion.getCartItem(LookupSelectQuestion.java:271)
com.glideapp.questionset.LookupSelectQuestion.getCurrent(LookupSelectQuestion.java:251)
com.glideapp.questionset.LookupSelectQuestion.addQualifier(LookupSelectQuestion.java:181)
com.glideapp.questionset.LookupSelectQuestion.getDisplayValue(LookupSelectQuestion.java:68)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:497)
org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2585)
org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
org.mozilla.javascript.gen.ftp___gsft_database_summarize_question_5_2099._c_script_0(ftp://gsft_database/summarize_question.5:2)
org.mozilla.javascript.gen.ftp___gsft_database_summarize_question_5_2099.call(ftp://gsft_database/summarize_question.5)

 

This PRB and PRB1378100 are caused by same root cause. Both are backported to NP5 as PRB1373648

Workaround

Use reference type variable instead.

The Problem is fixed in Orlando and backported to NP-5


Related Problem: PRB1373648

Seen In

New York Patch 3
SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - PA Premium Integration - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Policy and Compliance PA Content - Madrid 2019 Q1
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Risk Management PA Content - Madrid 2019 Q1
SR - IRM - SIG Assessment Legacy - Madrid 2019 Q1
SR - IRM - Vendor Risk Management - Madrid 2019 Q1
SR - ITOM - CMDB CI Class Models - 201907
SR - ITOM - Discovery and Service Mapping - 201908
SR - ITOM - Discovery and Service Mapping - v1.0.35
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Security Incident Response Flow Designer Content - Madrid 2019 Q2
SR - SIR - Security Incident Response PA Content - New York 2019 Q3
SR - SIR - Security Incident Response UI Patch - London 2019 Q2 v.6.2.3
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Threat Core - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3
SR - SIR - Threat intelligence - New York 2019 Q3
SR - VR - Qualys - New York 2019 Q3
SR - VR - Rapid7 - London 2019 Q2 v.6.2.1
SR - VR - Vulnerability Response - New York 2019 Q3
SR - VR - Vulnerability Response PA Content - Madrid 2019 Q2

Fixed In

New York Patch 5
Orlando

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-06-03 20:05:38
Published:2020-01-16