Description

This page describes the issue where ignoring dynamic links based on the left part of the link, using a regexp does not work.

If you run the below command line, you are still not able to ignore the links. 

C:\CAST\7.3\DLM\DynamicLinks.CLI.exe executeRules --ruleFile="C:\Accounts\Test\tools\DLM_rules\txMiddleware.dlm.xml" --profile="test_txmiddle"
2016-01-05 11:37:37,193 [1] INFO  DynamicLinks main - DynamicLinks.CLI.exe executeRules --ruleFile=C:\Accounts\tools\DLM_rules\txMiddleware.dlm.xml --profile=test_txmiddle


The DLM is launched and the rules are executed trying to ignore the links, however the end of the execution says no links to ignore.
2016-01-05 11:37:41,942 [1] INFO  DynamicLinks main - Saving changes...
2016-01-05 11:37:41,944 [1] INFO  DynamicLinks main - Rule rule_row_ignore ignored 0 links out of 0
2016-01-05 11:37:41,944 [1] INFO  DynamicLinks main - 0% of rules have been executed
2016-01-05 11:37:41,946 [1] INFO  DynamicLinks main - Out of 0 links to be reviewed, 0 have been validated and 0 links have been ignored
2016-01-05 11:37:41,947 [1] INFO  DynamicLinks main - 0 links are still to be reviewed

Observed in CAST AIP

 

Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server (tick)
Microsoft SQL Server (tick)
CSS3(tick)
CSS2 (tick)
Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  1. Migrate to a higher version but you have not run the analysis.
  2. Configure and run the command line with the rule file containing the expression to match the links to be ignored.
  3. Run the command line.
  4. Check the execution result in the CL Interface.
Impact of the Problem

The impact of the problem on the analysis or the dashboard is:

  • Invalid links would come up in analysis and dashboard.
Action Plan

To fix the problem, proceed as follows:

  1. Check if in the *.dlm.xml you have used :
    1. The option xxxStringFromCode (xxx = right, left, raw) : If yes, check that the source code is available in the machine where the dlm rules have been executed.
    2. Instead of the option calleeFullName  / callerFullName : Use the CalleeName / CallerName instead.

  2. Run the analysis in the higher version so as to replace the links in the older version.
    For example:
    If you have migrated from 7.3.3 to 7.3.7 but not run the analysis, then the links stored are still from 7.3.3 and the rule filter won't work.
    Its mandatory to run the analysis in the higher version so as to replace the links in the older version.
    So the solution is to run the analysis in each version of migration before trying to run DLM to ignore links. 

  

Notes/comments
 
Related Pages