AA0235 "When using 'OnInstallPerCompany' you should also add 'Company-Initialize'::'OnCompanyInitialize' event subscriber." - Not working #7269
Labels
CodeCop
This is a specific static-code-analysis group (AA)
1. Describe the bug
Rule AA0235 does not work with the current latest AL Language extension.
2. To Reproduce
Steps to reproduce the behavior:
Subtype = Install
and add an implementation for theOnInstallAppPerCompany
trigger, but do not add a subscriber forCompany-Initialize'::'OnCompanyInitialize
yet.3. Expected behavior
Rule AA0235 is triggered if there is an implementation for the
OnInstallAppPerCompany
trigger, but no subscriber forCompany-Initialize'::'OnCompanyInitialize
yet.4. Actual behavior
Rule AA0235 is NOT triggered when there is an implementation for the
OnInstallAppPerCompany
trigger, but no subscriber forCompany-Initialize'::'OnCompanyInitialize
yet.5. Versions:
Final Checklist
Please remember to do the following:
Search the issue repository to ensure you are reporting a new issue
Reproduce the issue after disabling all extensions except the AL Language extension
Simplify your code around the issue to better isolate the problem
Additional References
The text was updated successfully, but these errors were encountered: