Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356317 - Unresolved function reference in an external type
Summary: Unresolved function reference in an external type
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 08:45 EDT by Brian Svihovec CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (show)

See Also:


Attachments
Patch (5.30 KB, patch)
2011-08-31 08:45 EDT, Brian Svihovec CLA
lasher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.