Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340150 - DTE: Copied type in source not shown on UI
Summary: DTE: Copied type in source not shown on UI
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WTP Incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Dimitar Tenev CLA
QA Contact: Dimitar Tenev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-16 09:08 EDT by Stanislav Nichev CLA
Modified: 2021-11-18 16:19 EST (History)
0 users

See Also:


Attachments
xsd to reproduce (525 bytes, application/octet-stream)
2011-03-16 09:08 EDT, Stanislav Nichev CLA
no flags Details
proposed patch (46.99 KB, patch)
2011-06-17 17:04 EDT, Stanislav Nichev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Nichev CLA 2011-03-16 09:08:24 EDT
Build Identifier: 

Hi Colleagues,

In DTE the following scenario fails:
1) Open the attached xsd in DTE
2) Go to source and paste 	
<simpleType name="DataTypes">
		<restriction base="string">
			<enumeration value="date" />
			<enumeration value="double" />
			<enumeration value="int32" />
			<enumeration value="int64" />
			<enumeration value="money" />
			<enumeration value="string" />
			<enumeration value="timestamp" />
		</restriction>
	</simpleType>

3) Go to the DT tab - simple type not shown

Regards,
Stanislav

Reproducible: Always
Comment 1 Stanislav Nichev CLA 2011-03-16 09:08:51 EDT
Created attachment 191298 [details]
xsd to reproduce
Comment 2 Stanislav Nichev CLA 2011-06-14 15:01:23 EDT
Hi Colleagues,

Setting prio to critical since major functionality is broken - edit in source

Regards,
Stanislav
Comment 3 Stanislav Nichev CLA 2011-06-17 17:04:45 EDT
Created attachment 198218 [details]
proposed patch

Hi Colleagues,

I've prepared a patch for this issue. 

I'm still unable to get a successful test run, so I'm unable to check if all the tests are still green.

Please have that in mind if you decide to apply the patch.

Regards,
Stanislav
Comment 4 Dimitar Tenev CLA 2011-07-01 09:39:25 EDT
Hi Stani,

Thanks for the patch. I have done small refactorings to it, and applied it.
I have run all the test, and they are green.

Best regards,
Dimitar