Bug 561866 - Log a message when an operation ends with an OperationHistoryEvent.OPERATION_NOT_OK and concerns a LockException
Summary: Log a message when an operation ends with an OperationHistoryEvent.OPERATION_...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 6.3.0   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: 6.3.1   Edit
Assignee: Laurent Redor CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2020-04-07 10:49 EDT by Laurent Redor CLA
Modified: 2020-06-19 10:22 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 Laurent Redor CLA 2020-04-07 10:49:33 EDT
The initial problem has been detected in a "team" context so there is not real steps to reproduce in pure Sirius mode.
The goal of this issue is to add an IOperationHistoryListener to log a warning for OperationHistoryEvent with these conditions:
* event type = OperationHistoryEvent.OPERATION_NOT_OK
* status severity of the event is ERROR
* exception of the event is of type LockedInstanceException

In this case, a log must be done; like for example in org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(ICommand, IProgressMonitor) in the catch statement.
Comment 1 Julien Dupont CLA 2020-04-09 05:53:12 EDT
The step top reproduce is explained in the VP corresponding ticket.
Comment 3 Eclipse Genie CLA 2020-04-10 09:00:50 EDT
New Gerrit change created: https://git.eclipse.org/r/160746
Comment 5 Laurent Fasani CLA 2020-05-06 09:42:12 EDT
validated ith ODTE11.3.1 IT2
Comment 6 Pierre-Charles David CLA 2020-06-19 10:22:36 EDT
Available in Sirius 6.3.1 (part of Eclipse 2020-06). See https://wiki.eclipse.org/Sirius/6.3.1 for details on the release.