The Button widget set with GET action submits task

1
0
-1

Hello,

In UI designer version 7.3.2 and 7.3.1, the Button widget set with GET action and filling an isolated variable asset submits the task.
In version 7.2.1 it didn't submit the task.
Is this normal behavior ? How can I prevent the task from being submitted ?

Thanks for your help.

Jérôme

See my comment below.

Comments

Submitted by jerome.clavieras on Fri, 09/09/2016 - 16:32

After some search, I found that the form is submitted by the onFormSubmited function implemented in bonita-portal-js/main/features/user/tasks/list/tasks-app.js.
This function is set by the spy-submit attribute of the TaskListPage div.

Submitted by jerome.clavieras on Fri, 09/09/2016 - 18:15

I got passed this problem by adding a condition on c.action in the function onFormSubmited

"success" === c.message && c.action==="Submit task" && (b.dismissAll(),

Please let me know if this condition breaks anything.

Regards

Submitted by Sean McP on Tue, 09/13/2016 - 12:45
1 answer

1
0
-1

Hi,

This is a bug. It will be fixed in an upcoming version.

Thanks

Notifications