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

Bug 340150

Summary: DTE: Copied type in source not shown on UI
Product: z_Archived Reporter: Stanislav Nichev <stanislav.nichev>
Component: WTP IncubatorAssignee: Dimitar Tenev <dimitar.tenev>
Status: CLOSED FIXED QA Contact: Dimitar Tenev <dimitar.tenev>
Severity: critical    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
xsd to reproduce
none
proposed patch none

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