Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364891 - New Code type editor does not accept String value
Summary: New Code type editor does not accept String value
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-26 11:49 EST by Bertin Kiekebosch CLA
Modified: 2021-08-19 10:59 EDT (History)
2 users (show)

See Also:


Attachments

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