Release Notes - 2.1
2.1.23-funcrel
Fixes/Bugs
| Customer Ticket Id |
Customer Details |
|
Fixes wrong links when several solutions are possible and the nearer one must be chosen |
| 55451 |
Fixes missing http objects and missing links from controllers to services when the service calls are not called through a variable pointing to a service, but through the controller scope and the controller scope is initialized in a service |
| 55332 |
Fixes missing AngularJS objects when thet are declared inside a function. |
|
Fixes missing AngularJS objects when they are defined through "export default". |
|
Fixes missing links when angularJS objects are classes instead of functions. |
|
Fixes some links between AngularJS objects when these objects are inside javascript modules |
|
Fixes angularJS objects names and guid when names are variables which must be evaluated. |
2.1.22-funcrel
Fixes/Bugs
| Customer Ticket Id |
Customer Details |
|
Fixes some rare missing http services. |
2.1.21-funcrel
Fixes/Bugs
| Customer Ticket Id |
Customer Details |
| 54649 |
Fixes missing http request from angularJS code inside jsp/html files |
| 54562 |
Fixes missing links from "resolve" part of states which are present inside angularjs config |
| 54489 |
Fixes missing http service when ngFileUpload/Upload api is used. |
|
Fixes missing http service when the chained restangular api is used. |
|
Repairs links which have the wrong callee between 2 callees with same name. |
2.1.20-funcrel
Fixes/Bugs
| Customer Ticket Id |
Customer Details |
|
Adds links from controllers defined inside modal dialogs. |
|
Removes links from angular services to anonymous functions. |
|
Repairs URLs present in an angular object when initialized in another angular object which is not an angular constant object. |
Enhancement/Improvements
| Customer Ticket Id |
Customer Details |
|
Updates embedded libraries. |
2.1.19-funcrel
Other Updates
| Details |
| Fixes an issue where Angular modules are poorly constructed causing missing objects/links and erroneous links. |
| Fixes an issue where some "use" links from .html files to directives are missing. |
| Fixes an issue where some Angular objects with same name may be missing if several Angular applications defined in .html files are present in the same folder. |
2.1.18-funcrel
Other Updates
| Details |
| Fixes an issue causing erroneous link resolution when several services with same name are present. |
| Fixes an issue causing Http resource services to fail to be identified when $http is called through a redefined variable. |
| Fixes an issue causing controller model functions to fail to be detected when declared through "$scope.my_func = my_func" and "my_func" is defined elsewhere. |
| Fixes an issue causing the extension to fail when analyzing angular objects defined through classes instead of functions. |
2.1.17-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 48282 |
Fixes an issue causing a missing link between html source code and AngularJS Model functions. |
| 48668 |
Fixes an issue causing a missing AngularJS http service object from $http when the http service is in a controller inside a directive. |
Other Updates
| Details |
| Fixes an issue causing aspx/html files to be linked to the wrong controller when several controllers, services or directives exist with the same name (objects with same name were not supported, only one was created). |
| Added support for AngularJS controllers in ASP and ASPX files. |
| Fixes issues causing traceback errors in the analysis log file. |
2.1.16-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 44656 |
Fixed the missing AngularJS post resource service objects. |
2.1.15-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 42835 |
Fixes the missing links when dynamic buttons are used. |
| 42636 |
Fixes the missing Angular resource services with this.httpClient.get. |
| 42281 |
Fixes the missing Angular resource services with this.httpClient.get. |
Other Updates
| Details |
| Fixes an issue wherein the log file was too large (>100GB) due to unnecessary logging in file. |
| Fixes an issue wherein the AngularJS was not registering links created in order and the HTML5 extension did not create default links. |
2.1.14-funcrel
Other Updates
| Details |
| Fixes an issue where some model functions which had a name with a prefix prevented some links to be created. |
2.1.13-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 39674 |
Fixes an issue causing a missing AngularJS Post Http Service object when "modelResource.verify" is used. |
2.1.12-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 39674 |
Fixed missing Angular Post operation object from modelResource.verify. |
Other Updates
| Details |
| Urls present in json files may be taken into account when there is one. |
| Urls present in json files are not always taken into account. |
| Create resource service even if url is empty. |
2.1.11-funcrel
Other Updates
| Details |
| Replaced the reference to Objects.IdShortNam with Objects.IdNam (bug in post application step). |
2.1.10-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 38126 |
Updated few rules according to the policy. It was found that few critical rules were found to have less weight and non-critical rules with low weight, these rules have been fixed. |
Rules
| Rule Id |
New Rule |
Details |
| 1020534 |
FALSE |
Updated the rule (1020534): "Avoid using a web service with AngularJS $resource inside a loop" according to the policy. The critical rule was found to have less weight, it is fixed now. |
| 1020504 |
FALSE |
Updated the rule (1020504): "Avoid using the call of web service with AngularJS $http inside a loop" according to the policy. The critical rule was found to have less weight, it is fixed now. |
| 1020550 |
FALSE |
Updated the rule (1020550): "Avoid using "ng-repeat" loop without "track by" option" according to the policy. The critical rule was found to have less weight, it is fixed now. |
2.1.9-funcrel
Other Updates
| Details |
| The dependency with the HTML5/JavaScript Analyzer has been changed from 2.0.17-funcrel to 2.1.13-funcrel to take advantage of enhanced evaluation support. |
| An internal technical bug fix to ensure that the category CAST_AngularJS_ServiceCategory does not inherit from the category HTML5. |
| Fixes an issue where an erroneous traceback error was displayed in the log file: "AttributeError: 'AstString' object has no attribute 'values'" |
2.1.8-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 35993 |
Onboarding: Missing link from HTML page to function in Angular controller when controller model functions are initialized in "$onInit" function. |
| 35970 |
After the HTML analysis, Angularjs resource service is not created. |
Other Updates
| Details |
| Correction on http services after a correction in evaluation in HTML5. |
| Remove Traceback errors in tests. |
2.1.7-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 34932 |
Encountered analysis warning Extension com.castsoftware.angularjs. |
| 34938 |
Missing link from HTML page to Angular JS model function. |
2.1.6-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 34191 |
Fixed missing links from AngularJS Directive to "$onInit" HTML5 JavaScript Function. |
2.1.5-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 30809 |
Onboarding: Missing link from html to function angular controller. |
2.1.4-funcrel
Other Updates
| Details |
| ANGULARJS-006 TemplateUrl not found for .pug file |
2.1.3-funcrel
Other Updates
| Details |
| No AngularJS application were found. |
| Some AngularJS applications should not be created. |
2.1.2-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 27486 |
AngularJS POST Http Service Object Deleted due to crash in Angular extension. |
2.1.1-funcrel
Resolved Issues
| Customer Ticket Id |
Details |
| 26686 |
[PB] Missing links between javascript method and spring MVC POST operation |
| 26463 |
Missing links between javascript method and spring MVC POST operation |
Other Updates
| Details |
| Some links from states to html contents are missing |
| Some directives are badly handled |
| Some controllers are badly handled |
| Remove traceback errors from logs |
| Remove direct links from "$state.go()" to html contents |
2.1.0-funcrel
Note
This release of the extension contains a large number of rule related improvements, which will have a significant impact on any existing analysis results generated with a previous release of the extension. When re-analyzing existing and unchanged source code with this new extension, you should therefore expect grade and violation changes. When using AIP Console, if you do not want this extension to be used, you should ensure that you implement an extension strategy to prevent the automatic download and installation of the extension. If you are onboarding a new application, CAST actively encourages you to use this new release to take advantage of the improvements that have been implemented.
Rules
| Rule Id |
New Rule |
Details |
| 1020552 |
FALSE |
Avoid enabling dangerous protocols in whitelist APIs (updated thresholds) |
| 1020550 |
FALSE |
Avoid using "ng-repeat" loop without "track by" option (updated thresholds) |
| 1020548 |
FALSE |
Avoid disabling withCredentials option for the httpProvider (updated thresholds) |
| 1020546 |
FALSE |
Avoid using unsanitized AngularJS application (updated thresholds) |
| 1020544 |
FALSE |
Avoid disabling Strict Contextual Escaping (SCE) when created (updated thresholds) |
| 1020542 |
FALSE |
Enable Content Security Policy when creating an AngularJS application (updated thresholds) |
| 1020534 |
FALSE |
Avoid using a web service with AngularJS $resource inside a loop (updated thresholds) |
| 1020504 |
FALSE |
Avoid using the call of web service with AngularJS $http inside a loop (updated thresholds) |
| 1020558 |
FALSE |
Avoid creating cookie with overly broad path (AngularJS) (updated contribution) |
| 1020556 |
FALSE |
Avoid creating cookie with overly broad domain (AngularJS) (updated contribution and criticity) |
| 1020554 |
FALSE |
Avoid using unsecured cookie (AngularJS) (updated contribution) |
| 1020550 |
FALSE |
Avoid using "ng-repeat" loop without "track by" option (updated criticity) |