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

Bug 311720

Summary: Unhandled event loop exception was launched in a dialog at Generate element comment for interface method
Product: z_Archived Reporter: Kalin <kalin.a>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: gadi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screenshot1
none
screenshot2
none
StackOverflowError none

Description Kalin CLA 2010-05-05 09:20:39 EDT
Build Identifier: 2.2.0.v20100427

Stack Overflow error in a dialog at Generate element comment for interface method


Note: Correct behavior for class methods.

Reproducible: Always

Steps to Reproduce:
Try to generate element comment for interface method:

Example code:
<?php
interface III {
	
	public function test();
}

Go to Outline view | Right-click at test() | Source | Generate element comment

Actual:
Unhandled event loop exception was launched in a dialog at Generate element comment for interface method
Comment 1 Kalin CLA 2010-05-05 09:21:20 EDT
Created attachment 167128 [details]
screenshot1
Comment 2 Kalin CLA 2010-05-05 09:21:47 EDT
Created attachment 167129 [details]
screenshot2
Comment 3 Kalin CLA 2010-05-05 09:22:39 EDT
Created attachment 167130 [details]
StackOverflowError
Comment 4 Zhongwei Zhao CLA 2010-05-05 09:40:02 EDT
fixed in head
Comment 5 Gadi Goldbarg CLA 2010-05-17 10:04:34 EDT
Verified at PDT-2.2.0.v20100517

Element comment is created like expect at interface functions
Closing this issue...

Verified by
Teodor Kirkov
teodor.k@zend.com