CMS Snapshot Analysis - Run Analyzer - Missing or Wrong Links per technology - Web with extension - AngularJS

Purpose (problem description)

This guide gives the approach to troubleshoot missing or wrong / incorrect links between AngularJS objects.

Some syntaxes or patterns were not supported in early versions of the AngularJS Extension, which led to missing or wrong links.

This page provides a chart of those syntaxes, along with the version in which they were taken into account.

 

Observed in CAST Extension

ReleaseYes/No
AngularJS - 1.6
AngularJS - 1.5
AngularJS - 1.4
AngularJS - 1.3
AngularJS - 1.2
AngularJS - 1.1
AngularJS - 1.0

 

Observed on RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS2

Action Plan

  1. Select the issue you are interested in
SyntaxExplanationSupported from VersionTicket Number
ng-clickA javascript function is called from a HTML file, via AngularJS directive ng-click1.2.0-FuncRel8212

$myVar.open({

templateURL: 'myFile.html',

controller: myController

}

Starting from 1.2.0.-FuncRel, a link will be created from HTML file recherche_dossier_modale.html to AngularJS Controller rechercheDossierCtrl

1.2.0-FuncRel8214
Link from AngularJS method to Spring MVC Operation with dynamic URL

Here the URL of the Spring MVC Operation is dynamic : it is based on a variable.

Starting from version 1.2.0-FuncRel, the link will be created as the WebServices Linker will compare only the end of the URL with the Spring MVC Operation

1.2.0-FuncRel7432
The function should only get linked to checklist. But it is getting linked to many JAX RS Get Operations as it is not picking up the whole url

 

1.4.0 - Funcrel10390
  1. If you encounter any other issues, contact CAST Technical Support. with the following Relevant Input.

Related Pages