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

Bug 320572

Summary: The Open Declaration (F3) functionnality doesn't work for more than one superclass hierarchy.
Product: z_Archived Reporter: Christophe Boniver <christophe>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: christophe, gadi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Christophe Boniver CLA 2010-07-21 19:21:54 EDT
Build Identifier: Build id: 20100617-1415

The example in the Steps to reproduce hereunder is easier to understand that any textual description...

Reproducible: Always

Steps to Reproduce:
Try to Open Declaration (F3) on the methods call in this example.

<?php

class superA{
	protected function a(){}
	public function aa(){}
}
class superB extends superA{
	protected function b(){		
		$this->a();// this works
		$this->aa(); // this works
	}
}
class superC extends superB{
	protected function c(){
		$this->a(); // this won't work
		$this->aa(); // this won't work
		$this->b(); // this works
	}
}
Comment 1 Zhongwei Zhao CLA 2010-07-21 23:05:32 EDT
maybe it has been fixed I could not reproduce it using the latest code from head
Comment 2 Gadi Goldbarg CLA 2010-08-23 09:15:27 EDT
No longer reproducible.
Closing...
Kalin Yanev
kalin.a@zend.com