Problem Note 59515: The LinkedObjectRelationshipsComponent component in SAS® Model Risk Management does not return the expected results
In SAS Model Risk Management, you can use the LinkedObjectRelationshipsComponent component in a screen definition file to display the linked objects where the current user has relationships. If you specify only one value for the hasObjectLinkTo parameter for the component, you might not see any linked objects displayed. The following errors might appear in the SAS Model Risk Management log file:
ERROR com.sas.oprisk.monitor.service.RestServiceQueryBuilder -
Error processing filter expression or(hasObjectLinkTo('MRM','finding_owner',10101,0))
com.sas.oprisk.monitor.rest.exceptions.FilterEvaluationRuntimeException:
com.sas.oprisk.monitor.rest.exceptions.InvalidSearchFilterException: Operator or requires two or more arguments.
To work around the problem, specify the value of the hasObjectLinkTo parameter value twice, as shown in the example below:
<field type="component" name="MyModelFindings" component-name="LinkedObjectRelationshipsComponent">
<label><message key="taskList.myModelFindings.txt" /></label>
<param name="queryTableType" value="GetRestUrl('customObject12')" />
<param name="linkTypeSourceSystemCd" value="'MRM'" />
<param name="hasObjectLinkTo" value="'finding_owner,finding_owner'" />
</field>
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Model Risk Management | Microsoft Windows 8 Pro x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8 Pro 32-bit | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise 32-bit | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft® Windows® for x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise 32-bit | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro 32-bit | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows 10 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2008 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2008 R2 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2008 for x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Datacenter | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Enterprise 32 bit | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Home Premium 32 bit | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Home Premium x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Professional 32 bit | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Professional x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Ultimate 32 bit | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Windows 7 Ultimate x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
64-bit Enabled AIX | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
64-bit Enabled Solaris | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
HP-UX IPF | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Linux for x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
Solaris for x64 | 7.1 | 7.3 | 9.4 TS1M3 | 9.4 TS1M5 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The problem occurs when the hasObjectLinkTo parameter in the LinkedObjectRelationshipsComponent component contains only one value.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2016-12-13 15:57:39 |
Date Created: | 2016-12-13 03:54:41 |