[jbosstools-issues] [JBoss JIRA] (JBTIS-1176) BPMN2 - some tests are freezing on Windows

Andrej Podhradsky (JIRA) issues at jboss.org
Wed Nov 1 05:37:00 EDT 2017


    [ https://issues.jboss.org/browse/JBTIS-1176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484390#comment-13484390 ] 

Andrej Podhradsky edited comment on JBTIS-1176 at 11/1/17 5:36 AM:
-------------------------------------------------------------------

The problem seems to be in changing the BPMN2 model by
{code}
BPMN2MultiPageEditor.pageChange(final int newPageIndex)
{code}
which is called whenever a selection event is detected on CTabFolder
{code:title=MultiPageEditorPart.java}
final CTabFolder newContainer = new CTabFolder(parent, SWT.BOTTOM | SWT.FLAT);
newContainer.addSelectionListener(widgetSelectedAdapter(e -> {
	int newPageIndex = newContainer.indexOf((CTabItem) e.item);
	pageChange(newPageIndex);
}));
{code}

And since the RedDeer 2.0.0 sends the selection event to the CTabFolder every time it activates an editor, we have problems with the model which is being changed all the time.


was (Author: apodhrad):
The problem seems to be in changing the BPMN2 model by
{code}
BPMN2MultiPageEditor.pageChange(final int newPageIndex)
{code}
which is called whenever a selection event is detected on CTabFolder
{code:title=MultiPageEditorPart.java}
final CTabFolder newContainer = new CTabFolder(parent, SWT.BOTTOM | SWT.FLAT);
newContainer.addSelectionListener(widgetSelectedAdapter(e -> {
	int newPageIndex = newContainer.indexOf((CTabItem) e.item);
	pageChange(newPageIndex);
}));
{code}

And since the RedDeer 2.0.0 sends the selection event to the CTabFolder every time it activates an editor, we have problems with the model which is changing all the time.

> BPMN2 - some tests are freezing on Windows
> ------------------------------------------
>
>                 Key: JBTIS-1176
>                 URL: https://issues.jboss.org/browse/JBTIS-1176
>             Project: JBoss Tools Integration Stack
>          Issue Type: Bug
>          Components: BPMN2, QE
>    Affects Versions: 4.5.1.Beta1
>         Environment: Devstudio IS 11.1.0.Beta1
> Windows 10
>            Reporter: Andrej Podhradsky
>            Assignee: Andrej Podhradsky
>            Priority: Blocker
>             Fix For: 4.5.1.Beta1
>
>
> Some BPMN2 tests are freezing on Windows. One of the tests is ComplexCompensationEventTest.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list