-
Rules are currently checking if Text or Code variable/fields matches in length. We have warning when we assign a Text[250] to Code[20] for instance.
This is not the case for Labels.
**Title**
Rul…
-
**Describe the bug**
A variable that is assigned a value and used as a source expression for a control will raise this warning
**To Reproduce**
Steps and to reproduce the behavior:
Use a variabl…
-
**Describe the bug**
As with #5665 I am getting a number of these errors even after it has been reported as "fixed".
I get
> The record AccountingPeriod2 should be modified before saving to …
-
**Title**
AA0198 should also observe procedure parameters
**Description**
CodeCop Rule AA0198 helps us to not use identical names for local and global variables. But currently it only observe…
-
The naming of DotNet Variables on prem is very strange
example:
MyDateTime: DotNet MyDateTime; //AL(AA0072) Warning
"System.DateTime": DotNet MyDateTime; //Not warning
As it seems wrong to …
-
Using a yaml pipeline to build an app in Azure DevOps--each time the base Business Central dependency increments (from, say, 20 to 21), we have had to manually place the Microsoft packages in a shared…
-
Edited Description (23-03-2022):
If a local procedure is not used, then no code analysis is applied to its implementation.
Original description:
**Title**
A new code analysis rule that w…
-
**1. Describe the bug**
If there are statements after an `if-else`-statement where both paths result in an `exit`-statement, then I would expect rule AA0136 to report a warning on any statement aft…
-
With this code:
```al
table 50100 MyTestTableFOO
{
DataClassification = CustomerContent;
fields
{
field(50100; TableFieldFOO; Boolean)
{
}
}
}
…
dzzzb updated
2 years ago
-
**1. Describe the bug**
The following CodeCop error appears when you StrSubstNo with a protected variable that has a placeholder in it.
**2. To Reproduce**
I replicated this with a report extensi…