Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Exception when changing the order of input dialog parameters in the modeler #48

Closed
gorbunkov opened this issue Aug 25, 2021 · 1 comment
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@gorbunkov
Copy link

Open the modeler screen
Add the User Task element
Select the input dialog form type
Add several input dialog parameters
Select any of them and try to move it up or down using the proper button

AR:
The exception:

Caused by: java.lang.IllegalArgumentException: entity or id is null
	at io.jmix.core.common.util.Preconditions.checkNotNullArgument(Preconditions.java:101) ~[jmix-core-1.0.1.jar:na]
	at io.jmix.ui.model.impl.CollectionContainerImpl.getItemIndex(CollectionContainerImpl.java:126) ~[jmix-ui-1.0.1.jar:na]
	at io.jmix.ui.model.impl.CollectionContainerImpl.getItemOrNull(CollectionContainerImpl.java:120) ~[jmix-ui-1.0.1.jar:na]
	at io.jmix.ui.component.data.table.ContainerTableItems.getItem(ContainerTableItems.java:96) ~[jmix-ui-1.0.1.jar:na]
	at io.jmix.ui.component.impl.AbstractTable.setSelected(AbstractTable.java:420) ~[jmix-ui-1.0.1.jar:na]
	at io.jmix.ui.component.impl.AbstractTable.setSelected(AbstractTable.java:404) ~[jmix-ui-1.0.1.jar:na]
	at io.jmix.bpmui.screen.modeler.properties.ModelerPropsPanelUiHelper.moveTableItemUp(ModelerPropsPanelUiHelper.java:82) ~[jmix-bpm-ui-1.0.1.jar:na]
	at io.jmix.bpmui.screen.modeler.properties.formdata.FormDataPropertiesFragment.onFormFieldsTableMoveFieldUpActionPerformed(FormDataPropertiesFragment.java:344) ~[jmix-bpm-ui-1.0.1.jar:na]
	at io.jmix.core.common.event.EventHub.publish(EventHub.java:170) ~[jmix-core-1.0.1.jar:na]
	at io.jmix.ui.action.BaseAction.actionPerform(BaseAction.java:220) ~[jmix-ui-1.0.1.jar:na]
	at io.jmix.ui.component.impl.ButtonImpl.buttonClicked(ButtonImpl.java:75) ~[jmix-ui-1.0.1.jar:na]
	at io.jmix.ui.widget.JmixButton.fireClick(JmixButton.java:77) ~[jmix-ui-1.0.1.jar:na]
	at com.vaadin.ui.Button$1.click(Button.java:57) ~[vaadin-server-8.12.3-3-jmix.jar:8.12.3-3-jmix]
	... 87 common frames omitted
@gorbunkov gorbunkov added the type: bug Something isn't working label Aug 25, 2021
@gorbunkov gorbunkov added this to the 1.1.0 milestone Aug 25, 2021
@gorbunkov gorbunkov self-assigned this Aug 25, 2021
@gorbunkov gorbunkov changed the title Exception when changin the order of input dialog parameters in the modeler Exception when changing the order of input dialog parameters in the modeler Aug 25, 2021
@gorbunkov gorbunkov assigned artemy63 and unassigned gorbunkov Sep 21, 2021
@maistrenkoIulia
Copy link

verified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants