Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356516 - String concat throws a runtime exception
Summary: String concat throws a runtime exception
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 15:27 EDT by Joseph Vincens CLA
Modified: 2017-02-23 14:14 EST (History)
1 user (show)

See Also:


Attachments
weather test program (40.92 KB, multipart/x-zip)
2011-09-01 15:27 EDT, Joseph Vincens CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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