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

AL0432 fails to warn about obsolete factboxes #7875

Open
4 of 6 tasks
BrianThorChristensen opened this issue Oct 17, 2024 · 0 comments
Open
4 of 6 tasks

AL0432 fails to warn about obsolete factboxes #7875

BrianThorChristensen opened this issue Oct 17, 2024 · 0 comments
Labels

Comments

@BrianThorChristensen
Copy link

BrianThorChristensen commented Oct 17, 2024

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:
    • Windows
    • Linux
    • MacOS

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

Internal work item: AB#555310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants