BusinessCentral.LinterCop icon indicating copy to clipboard operation
BusinessCentral.LinterCop copied to clipboard

Wrong warning LC0035 for Fields with Access Local/Protected

Open pri-kise opened this issue 11 months ago • 2 comments

Currenlty LC0035 is triggered event for fields defined with Access Local or Protected.

image

        field(30; "Client Secret Key"; Guid)
        {
            Access = Local;
            Caption = 'Client Secret ID';
            DataClassification = SystemMetaData;
        }

This shouldn't be the case, since those fields cannot be added to pages.

pri-kise avatar Apr 02 '24 07:04 pri-kise

Thanks! This is indeed a good improvement for this rule and is resolved in the (pre)release version of v0.30.16 of the LinterCop.

Arthurvdv avatar Apr 06 '24 10:04 Arthurvdv

Version v0.30.16 of the LinterCop is now released. Is it possible to verify of the issue is now resolved?

Arthurvdv avatar Apr 22 '24 07:04 Arthurvdv