Icon View Incident Report

Serious Serious
Reported By: Matthew Jones
Reported On: 10/27/2017
For: Version 2.06 Build 10
# 4595 Emitted Javascript for Virtual and Overridden Methods Depending Upon Uses Clause Ordering

I've been having an issue in the last few days that I've pinned down to a compiler issue. So this is somewhere between build 5 and 6 perhaps, still showing in latest.

What is happening is that I load EWB and compile, and it outputs bad code such that it fails to run properly in the browser as the surface is not initialized. This seems to be related to the appending of '1' to many functions. But if I then do another build in the IDE, it outputs good code without the extra 1's and the browser runs it fine. Subsequent compiles are also good too.

Which would be an okay workaround, except that the command line compile only ever does the one build, so it always outputs duff javascript.


Comments Comments
The issue was with how virtual/overriden methods would be emitted and would appear when the order of the units in the uses clause of the interface section for a given unit was such that units (that were dependent upon certain other units) were listed before the units that they depended upon. The component library/runtime is written in such a way that this is never case, so that is why it wasn't discovered earlier.


Resolution Resolution
Fixed Problem on 11/19/2017 in version 2.06 build 11


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image