| Summary: | Second call off ProjectSpace.beginCompositeOperation() can lead to IllegalStateException | ||
|---|---|---|---|
| Product: | [Modeling] EMFStore | Reporter: | Max Hohenegger <eclipse> |
| Component: | ServerCore | Assignee: | Johannes Faltermeier <jfaltermeier> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | emueller, erdal.karaca.de, jfaltermeier, mkoegel |
| Version: | unspecified | ||
| Target Milestone: | 1.3.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
*** Bug 371885 has been marked as a duplicate of this bug. *** See existing CompositeOperationTest#beginSubsequentCompositeOperations for a test case. Issue seems to be resolved -> works for me |
Even though the CompositeOperation is ended as shown in the example below, a second call of said method can result in a IllegalStateException. This issues should be reproduced with a testcase first. ProjectSpace projectSpace = WorkspaceManager.getProjectSpace(matrix); projectSpace.beginCompositeOperation(); ECPCommand ecpCommand = new ECPCommand(matrix) { @Override protected void doRun() { //[...] } }; ecpCommand.run(false); projectSpace.getOperationManager().endCompositeOperation();