Analyzer
LinterCop
Issue type
False positive (diagnostic fires when it shouldn't)
Rule ID
LC0092
Description
Custom Naming Patterns interfere with application of the diagnostic. If a custom NamingPattern is set against Actions, it is applied to Action Areas as well, which is invalid as areas are pre-defined by Microsoft.
AL code to reproduce
actions
{
area(Processing)
{
action(Test)
{}
}
}
Additional context
alcops.json to reproduce
{
"NamingPatterns": {
"Action": {
"AllowPattern": "act[A-Za-z0-9]",
"AllowDescription": "Should begin with 'act'."
}
}
}
Analyzer
LinterCop
Issue type
False positive (diagnostic fires when it shouldn't)
Rule ID
LC0092
Description
Custom Naming Patterns interfere with application of the diagnostic. If a custom NamingPattern is set against Actions, it is applied to Action Areas as well, which is invalid as areas are pre-defined by Microsoft.
AL code to reproduce
actions
{
area(Processing)
{
action(Test)
{}
}
}
Additional context
alcops.json to reproduce
{
"NamingPatterns": {
"Action": {
"AllowPattern": "act[A-Za-z0-9]",
"AllowDescription": "Should begin with 'act'."
}
}
}