Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule AA0217 isn't firering in Latest AL Language Preview (v14.0.1108692 (pre-release)) #7827

Open
pri-kise opened this issue Aug 21, 2024 · 0 comments
Labels
CodeCop This is a specific static-code-analysis group (AA) requires-triage

Comments

@pri-kise
Copy link

Please include the following with each issue:

1. Describe the bug
The CodeCop AA0217

2. To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
if DimText = '' then
  DimText := StrSubstNo('%1 - %2', DimSetEntry."Dimension Code", DimSetEntry."Dimension Value Code") // Triggers in Old AL Language
else
  DimText := StrSubstNo('%1; %2 - %3', DimText, DimSetEntry."Dimension Code", DimSetEntry."Dimension Value Code");

3. Expected behavior
The CodeCop AA0217 should trigger here like in older AL Language Versions.

4. Actual behavior
Currently this CodeCop isn't working anymore for those cases.

5. Versions:

  • AL Language: v14.0.1108692 (pre-release)
@nndobrev nndobrev added requires-triage CodeCop This is a specific static-code-analysis group (AA) labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CodeCop This is a specific static-code-analysis group (AA) requires-triage
Projects
None yet
Development

No branches or pull requests

2 participants