Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
744
stars
245
forks
source link
[Bug] Code Analyzer check rule PTE0008: ApplicationArea property must be checked on actions #4598
I've created a new simple pageextension XXX Service Order with one field and one action.
When I removing ApplicationArea property from the field - the Code Analyzer shows me an error that my field must have a value for the ApplicationArea property:
But when I removing ApplicationArea property from the action- the Code Analyzer does not show me any errors.
In my opinion, the rule regarding the ApplicationArea should work in the same way for the action and field.
Additional Info:
AL Langauge: 2.1.91153
Visual Studio Code: 1.31.1
Target Database: D365BC SandBox (on cloud)
The following rules were used:
"al.codeAnalyzers": [ "${CodeCop}", "${PerTenantExtensionCop}", "${AppSourceCop}"
I've created a new simple pageextension XXX Service Order with one field and one action. When I removing ApplicationArea property from the field - the Code Analyzer shows me an error that my field must have a value for the ApplicationArea property:
But when I removing ApplicationArea property from the action- the Code Analyzer does not show me any errors.
In my opinion, the rule regarding the ApplicationArea should work in the same way for the action and field.
Additional Info: AL Langauge: 2.1.91153 Visual Studio Code: 1.31.1 Target Database: D365BC SandBox (on cloud)
The following rules were used:
"al.codeAnalyzers": [ "${CodeCop}", "${PerTenantExtensionCop}", "${AppSourceCop}"