Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356516

Summary: String concat throws a runtime exception
Product: z_Archived Reporter: Joseph Vincens <jvincens>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: greer
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
weather test program none

Description Joseph Vincens CLA 2011-09-01 15:27:54 EDT
Created attachment 202634 [details]
weather test program

If defect 356514 has not been resolved edit Weather.egl removing combo.getSelection() and replace it with a literal 1.

Deploy the attached project.
Open the html on the server and press the button.

An exception will happen on maxTempHTML.text = (data[i].MaxTemperatureF as String)+"F"; (egl line 74 of Weather.egl) 

the generated code 
egl.egl.lang.EString.plus(ezeProgram, egl.egl.lang.EString.ezeCast(egl.checkNull(data)[data.checkIndex(i - 1)].MaxTemperatureF), "F")
has ezeProgram which looks like java gen.
Comment 1 Scott Greer CLA 2011-09-10 16:47:46 EDT
Fixed.
Comment 2 Joseph Vincens CLA 2011-09-12 09:13:46 EDT
verified