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

Bug 356317

Summary: Unresolved function reference in an external type
Product: z_Archived Reporter: Brian Svihovec <svihovec>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch lasher: iplog+

Description Brian Svihovec CLA 2011-08-31 08:45:46 EDT
Created attachment 202513 [details]
Patch

Given an external type Widget with the MVCView annotation, references to functions contained within the external type are not being resolved correctly:

ExternalType DojoTimeTextBox Extends DojoValidationBase type JavaScriptObject{
		relativePath = "dojo/widgets",
        externalName = "DojoTimeTextBox",
        @MVCView{
	    retrieveViewHelper = getValueAsText
        }
}
end

The issue appears to be related to the fact that the ExternalTypeBindingCompletor is not using a Scope that is capable of resolving functions defined within the External Type being compiled.

The attached patch should resolve this issue.
Comment 1 Paul Harmon CLA 2011-08-31 08:50:05 EDT
Patch is checked in
Comment 2 Lisa Lasher CLA 2011-11-09 14:17:00 EST
This defect was fixed at least 2 months ago, so I am closing.