Community
Participate
Working Groups
It is not possible to delete projects from the embeddedDB in Jubula EPP. This behavior occurs just in Jubula EPP, not in the Bredex Jubula. Maybe this is caused by the used Eclipse Link 2.3 (because the Indigo Release of Eclipse) in Jubula EPP. In the Bredex Jubula we are using Eclipse Link 2.2.
Created attachment 195840 [details] Log when delete project
I was unable to reproduce the error by simply creating and then deleting a Project. After looking at the log file, it is apparent that a database constraint on a parent-child relationship (essentially, a Test Case that contains a Test Case Reference) is violated. Here are some steps to reproduce the error: 1. Create (and open) a new Project. 2. Create two new Test Cases ("TC1" and "TC2"). 3. Open TC1 and add a Reference to TC2. 4. Close the editor for TC1. 5. Delete TC1. An error occurs (complete with error dialog), and the Test Case is not successfully deleted.
This indeed appears to be caused by the switch from EclipseLink 2.2 to EclipseLink 2.3. I am unable to reproduce the problem with a Jubula that uses EclipseLink 2.2, but i am able to reproduce the problem with a Jubula that uses EclipseLink 2.3.
Also occurred with Jubula as Plugin in the Eclipse Indigo Release RC1.
(In reply to comment #4) > Also occurred with Jubula as Plugin in the Eclipse Indigo Release RC1. Good (from an EPP's point of view...) - I couldn't think of a relationship between this error and the Testing EPP package.
*** Bug 346835 has been marked as a duplicate of this bug. ***
Definitely a bug in EclipseLink (bug 347010), and not database-, platform-, or packing-specific. I've marked that bug as blocking this one.
fixed with the workaround implemented in http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=965bb3103fb80a431d49cee870887794288a1459
The steps from comment 3 does not led to the error message anymore. In addition projects are now deletable from the embedded database.
*** Bug 345131 has been marked as a duplicate of this bug. ***