| Summary: | [delegate] Can not finish EMF ODA ECore DataSet Wizard | ||
|---|---|---|---|
| Product: | [Modeling] OCL | Reporter: | John Conlon <jconlon> |
| Component: | Core | Assignee: | OCL Inbox <mdt-ocl-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | ed, rekhabhintade |
| Version: | 3.1.0 | ||
| Target Milestone: | SR1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Duplicate *** This bug has been marked as a duplicate of bug 353171 *** CLOSED after a year in the RESOLVED state. |
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.