Problem Note 68815: Opening a watchlist alert displays the error "Expression 'undefined' in attribute 'options' used with the directive 'amlGrid' is non-assignable!"
When a user clicks a watchlist alert in the SAS® Anti-Money Laundering user interface, the alert opens correctly. However, the following misleading error message is briefly shown and then disappears:
AML: [$compile:nonassign] Expression 'undefined' in attribute 'options' used with directive 'amlGrid' is non-assignable! https://errors.angularjs.org/1.8.0/$compile/nonassign?p0=undefined&p1=options&p2=amlGrid
The issue is specific to an alert that fulfills these conditions:
- It is generated with a watchlist scenario (when the scenario_category_code is "WAT" in the fsk_scenario table, or the alert_category_cd='WAT' in the fsk_alert table).
- The text in its Alert Threshold field (fsk_alert.actual_values_text) includes a colon in two specific places: just before the equal sign for Watch List ID and Watch List Name. Here is an example: Watch List ID := 1000000; Watch List Name := WCHK
The following image shows the colon placement and the error message:
This issue is present in SAS Anti-Money Laundering 7.1 HF11 or later. So, you encounter it when the SAS Compliance Solutions 7.1 Hot Fix A5T014 or later is installed.
You can follow these steps to prevent this error message from being displayed:
- Edit the template-cache.js file (located in the SAS Configuration directory, in Web\WebAppServer\SASServer8_1\sas_webapps\sas.financialservices.aml.war\scripts).
- Find this sequence:
on-data-load=vm.loadPossibleMatchesGrid on-change=vm.handleRowSelect>
- Replace it with the following:
on-data-load=vm.loadPossibleMatchesGrid on-change=vm.handleRowSelect options=vm.customerGridOptions>
- If the message persists, clear the browser cache.
Note that this file is overridden by a hot-fix installation. So, you need to repeat the modification when you update the SAS Anti-Money Laundering 7.1 installation with a newer hot fix.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Anti-Money Laundering | Microsoft® Windows® for x64 | 7.1 | | | |
64-bit Enabled AIX | 7.1 | | | |
64-bit Enabled Solaris | 7.1 | | | |
Linux for x64 | 7.1 | | | |
*
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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2022-06-23 16:45:24 |
Date Created: | 2022-01-21 09:15:23 |