AL icon indicating copy to clipboard operation
AL copied to clipboard

AL Compiler does not check RDLC textbox values against DataSet.

Open RobynGee opened this issue 7 years ago • 5 comments

  • 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.

RobynGee avatar Aug 29 '18 01:08 RobynGee

Hi Robyn, I agree, quick question, did you use these steps to create the RDLC layout? I understood from another thread (#1187) that there would be a release to allow us to only work in VSCode for RDLC layout, it'd be interesting to see how to do that if there is a guide somewhere. Also if that was released, compiler errors may be implemented there too, hopefully.

robertosb avatar Aug 29 '18 04:08 robertosb

I created the report with the dataset and with the below two properties to the report al code. DefaultLayout = RDLC; RDLCLayout = './TestReport.rdlc'; Then I packaged the report, and it created the TestReport.rdlc with the dataset. Then I used Visual Studio 2017 to open the rdlc file and add a layout.

RobynGee avatar Aug 29 '18 04:08 RobynGee

Brilliant, I tried now and I also enabled pertenantextensioncop and it didn't make a difference. so issue is still open. image

robertosb avatar Aug 29 '18 05:08 robertosb

There is currently no such validation. This is a feature request.

StanislawStempin avatar Oct 25 '18 08:10 StanislawStempin

What is the status of this issue? @MarcHansenMicrosoft

mitrov avatar Dec 20 '23 11:12 mitrov