AL icon indicating copy to clipboard operation
AL copied to clipboard

Simple Expression in Visible Property does compile but crashes when opening Page

Open dNsl9r opened this issue 9 years ago • 2 comments

When using a simple expression in the Visible Property of a e.g. group in a page, there is a bug: group(MyGroup1) { Visible=VisibleInteger=1;

As you can see, the visibility is based on a simple expression: If my Variable "VisibleInteger" is 1 the Group is visible. You can compile and publish the app, but when starting the page you get the following error: grafik

When you change the code to the following the page can be opened:

group(MyGroup1) { Visible=VisibleInteger = 1;

Tested on November Preview

dNsl9r avatar Nov 15 '17 09:11 dNsl9r

Hi @dNsl9r . The expression parser is not a part of the compiler but the runtime so due to legacy reasons (compatibility with CSIDE) we cannot make breaking changes to it yet

doivosevic avatar Mar 05 '18 15:03 doivosevic

I have managed to fix the spacing issue. You can expect the fix in the next update

doivosevic avatar Mar 09 '18 15:03 doivosevic