Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353227 - [delegate] Can not finish EMF ODA ECore DataSet Wizard
Summary: [delegate] Can not finish EMF ODA ECore DataSet Wizard
Status: CLOSED DUPLICATE of bug 353171
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: SR1   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 11:49 EDT by John Conlon CLA
Modified: 2013-05-20 11:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Conlon CLA 2011-07-27 11:49:26 EDT
Build Identifier: 20110615-0604

Problem occurs when the user tries to create a ECore Data Set in the New Data Set Wizard of a BIRT Report, although all required parameters a filed in, the wizard page never enables the Finish button.  User is given no indication that an error occurred.

WizardPage functionality is implemented by the EcoreDataSetWizardPage in the org.eclipse.emf.oda.ecore.ui plugin. 

The EcoreDataSetWizardPage page validates entered data.

The PROBLEM (AFAIK) occurs when an ePackage returns a null from:
EAnnotation eAnnotation = ePackage.getEAnnotation(EcorePackage.eNS_URI);
inside the DelegateEPackageAdapter (see debug stack trace below) 
---------------------------------------------------------------------
Thread [main] (Suspended (breakpoint at line 99 in DelegateEPackageAdapter))   
DelegateEPackageAdapter.getDelegateDomains() line: 99   
DelegateEPackageAdapter.getDelegateDomain(String) line: 89   
OCLQueryDelegateFactory$Global(AbstractOCLDelegateFactory).getDelegateDomain(EPackage) line: 53   
OCLQueryDelegateFactory$Global(OCLQueryDelegateFactory).createQueryDelegate(EClassifier, Map<String,EClassifier>, String) line: 61   
OCLQueryDelegateFactory$Global.createQueryDelegate(EClassifier, Map<String,EClassifier>, String) line: 82   
EcoreDataSetWizardPage.validateData() line: 1015   
EcoreDataSetWizardPage.promptForResultTypeSelection() line: 591   
EcoreDataSetWizardPage$11.widgetSelected(SelectionEvent) line: 622   
TypedListener.handleEvent(Event) line: 240   
    ...



Reproducible: Always

Steps to Reproduce:
1. Create a new BIRT Report.

2. In the BIRT Report create a new DataSource using the 'EMF ECore Data Source'. When presented with the New DataSource Wizard page, reference a model instance in the workspace. Test that the connection is good.

2.Create a DataSet from the EMF ECore Data Source. Fill in all required fields.
Comment 1 Ed Willink CLA 2011-07-27 12:56:25 EDT
Duplicate

*** This bug has been marked as a duplicate of bug 353171 ***
Comment 2 Ed Willink CLA 2013-05-20 11:36:00 EDT
CLOSED after a year in the RESOLVED state.