Team for Capella 1.1.4 (2018-06-11)

Compatibility: Capella 1.1.4

 

What's new

The Team for Capella 1.1.4 maintenance release brings three major changes compared to Team for Capella 1.1.3:

  • Save protection by a lock on the shared resource : allows to display a "Save canceled, retry later" popup to other users who try to save while a save is already in progress. This allows to avoid several kind of Save Failed errors or CommitConflict exceptions. It can be disabled with the system property -Dfr.obeo.dsl.viewpoint.collab.disableSaveProtectionByRemoteAirdLocking=true
  • Durable locks are now disabled by default, ie. locks are released when a user closes its connected Capella project. The durable locks feature can be enabled using the plugin_customization.ini mechanism: in capella/eclipse/plugin_customization.ini just add fr.obeo.dsl.viewpoint.collab/PREF_ENABLE_DURABLE_LOCKING=true
  • XmiIds synchronization can be disabled with the system property -Dcom.thalesgroup.mde.cdo.emf.transaction.disableXmiidsSynchronization=true This allows several performance and stability improvements on models with many (and/or) big representations but this also disables the diff-merge capabilities for local vs distant models and the identification of representation data between each import (Importer, import wizard).

 

Important note

For this specific version it is recommended to use a new workspace: durable locks have been disabled by default but older versions used to activate this feature as a user choice. It is also possible to clean the old workspace by removing the PREF_ENABLE_DURABLE_LOCKING=true preference value from the workspace metadata located in: YourWorkspace\.workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\fr.obeo.dsl.viewpoint.collab.prefs.

 

Fixed Issues

This version also introduces several fixes:

  • Fix message about LockedInstanceException; When several objects must be locked, a global LockedInstanceException is thrown for all objects even if only one is locked. Only the first object of the list used to be displayed as locked even if it was not. Now the message is clearer and explains that at least one element is locked.
  • Fix message about LockedInstanceException; When several objects must be locked, a global LockedInstanceException is thrown for all objects even if only one is locked. Only the first object of the list used to be displayed as locked even if it was not. Now the message is clearer and explains that at least one element is locked.
  • Fix deadlock occuring in different scenario with many users: deletion on one side and other clients doing diagram creation, undo of diagram deletion, drag and drop of elements on diagram.
  • Release locks after the cancellation of a Capella transition action Editor not closed when remote user deletes the semantic root.
  • Dirty session at opening due to missing id on Capella elements.
  • Error when closing a dirty session (after click on "do not save").
  • Unexpected StopVisitException and UnsupportedOperationException during conflict resolution.
  • Unexpected Save failed issue caused by DanglingIntegrityException.
  • Unexpected close of the session after exporting representations as images Duplicated XmiiIds elements after representation creation.
  • Save Failed after creation and deletion of the same diagram.
  • Freeze after using new Connection Project wizard and undoing all possible.
  • modifications.