StefanMaron / BusinessCentral.LinterCop

Community driven code linter for AL (MS Dynamics 365 Business Central)
https://stefanmaron.com
MIT License
72 stars 30 forks source link

LC0004 - False Positive for Page with property SourceTableTemporary = true; #703

Open pri-kise opened 1 month ago

pri-kise commented 1 month ago

I currently receive the warning LC0004 for one table that isn't a table with temporary (historical reasons). We have on list page for this table with the property SourceTableTemporary = true;.

This page is suggested for DrillDownPageId and LookupPageId.

This is a false positive, since you don't want to specify a Page with SourceTableTemporary as DrillDownPageId in the normal cases.

Arthurvdv commented 1 month ago

Good catch, in this case you're right and the rule shouldn't raise a diagnostic.

This should now be resolved in the (pre)release version of v0.30.29 of the LinterCop.