The Button widget set with GET action submits task

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.

Hi,

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

Thanks

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.

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

Bug created:

https://bonita.atlassian.net/browse/BBPMC-417