AL icon indicating copy to clipboard operation
AL copied to clipboard

AL0432 fails to warn about obsolete factboxes

Open BrianThorChristensen opened this issue 1 year ago • 2 comments

Please include the following with each issue:

1. Describe the bug The page "Document Attachment Factbox" has recently been made obsolete, and most references give AL0432 warnings. But if this page is added as a part to another page there is no warning.

2. To Reproduce Steps to reproduce the behavior: Add this code to a page:

            part("Attached Documents"; "Document Attachment Factbox")
            {
                ApplicationArea = All;
                Caption = 'Attachments';
            }

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.

3. Expected behavior I expected to get an AL0432 warning about the "Document Attachment Factbox" being obsolete.

4. Actual behavior No warning is given.

5. Versions:

  • AL Language: v14.1.1180850
  • Visual Studio Code: 1.89.1
  • Business Central: 24.5
  • List of Visual Studio Code extensions that you have installed:
  • Operating System:
    • [X] Windows
    • [ ] Linux
    • [ ] MacOS

Final Checklist

Please remember to do the following:

  • [X] Search the issue repository to ensure you are reporting a new issue

  • [X] Reproduce the issue after disabling all extensions except the AL Language extension

  • [X] Simplify your code around the issue to better isolate the problem

Internal work item: AB#555310

BrianThorChristensen avatar Oct 17 '24 14:10 BrianThorChristensen

The same thing has happened to me...

clasalal avatar Jan 29 '25 11:01 clasalal

+1

Name: AL Language extension for Microsoft Dynamics 365 Business Central Id: ms-dynamics-smb.al Description: Development tools for Dynamics 365 Business Central Version: 15.0.1290655 Publisher: Microsoft VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al

fvet avatar Feb 13 '25 10:02 fvet