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

Bug 364891

Summary: New Code type editor does not accept String value
Product: z_Archived Reporter: Bertin Kiekebosch <bertinrid>
Component: ScoutAssignee: Project Inbox <scout.sdk-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mvi, zimmermann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Bertin Kiekebosch CLA 2011-11-26 11:49:28 EST
In the Scout Explorer, select shared plug-in _> Enumerations. Select "New code type..." from the context menu.

The "New Code Type" dialog appears.

Give it a name and select String as Generic Type.

The try to enter a String in the Code ID field.

In the header an error will show up "code it must be a number (long)" and you cannot close the dialog.


Workaround: Fill in a number, finish the dialog and then change the source code.
Comment 1 Matthias Zimmermann CLA 2011-11-29 05:55:13 EST
see the scout forum [1] for further context 
[1] http://www.eclipse.org/forums/index.php/t/262528/
Comment 2 Matthias Villiger CLA 2011-12-06 11:07:50 EST
fixed for 3.8.0.

new the following generic types are supported to directly enter values in the wizard: Long, Integer, Double, Float, String, Boolean.

for all other types the code id field is disabled and the ID field in the class is created with the value null (including a todo marker).
Comment 3 Matthias Zimmermann CLA 2012-07-09 06:50:34 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)