Icon View Incident Report

Serious Serious
Reported By: Ralf Mimoun
Reported On: 4/30/2018
For: Version 2.06 Build 11
# 4636 Unary Operators Can Cause Incorrect JavaScript to be Emitted When Combined with Binary Operators

From one moment to another, my web app does not work. White browser. Even a ShowMessage at the main form does not show up. A the end, the compress option was the reason for that behaviour: without it, everything works nicely.

Comments Comments and Workarounds
The issue was this line of code:

Height := min(grdDetails.RowCount * grdDetails.RowHeight + btnOK.Height + btnOK.Margins.Top + + btnOK.Margins.Bottom, Application.Surface.Height);

specifically, the '+ +' construct. When compression was turned on, the space was eliminated, resulting in the emitted JS code containing '++', which was not the correct code.

Resolution Resolution
Fixed Problem on 5/8/2018 in version 2.06 build 12

Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial