AL Compiler does not check RDLC textbox values against DataSet.
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 881
- Forks
- 285
- Avg merge
- 3d 36m
- Merged PRs (30d)
- 1
Description
- AL Extension Version: 0.16.26913
- Server Version: AU Dynamics NAV 12.3
PagExt50110-Page22.RunReport.zip
In the attached RDLC layout the Customer Address field was originally in the DataSet and was added to the report layout.
Then the Address field was removed from the DataSet.
There is no compiler error in Visual Studio Code, and the report is packaged and published with no problems detected.
However at runtime it errors.
I think there should be an error generated by the compiler.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached PagExt50110-Page22.RunReport.zip and reproduce the report in the AL Extension for Visual Studio Code using the stated server and extension versions. Inspect how the compiler handles RDLC fields removed from the DataSet, then verify that the invalid textbox reference is diagnosed before packaging or publishing and that the runtime error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- compilers, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100