Bug with Process UIs? if validation fails transistion triggered?

Moderator: crythias

Locked
hkais
Znuny wizard
Posts: 363
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Bug with Process UIs? if validation fails transistion triggered?

Post by hkais »

Hi there,

I am having on Znuny 7.0 the issue that transitions get fired even if the validation on the UI failed.

E.g. we have a UI with many fields, to verify by the process using user.
If the users now enter a invalid regex parsed data format or any other invalid textual and regex parsed value, the UI returns back and reports an error per defined field.
The issue is, that the process anyway triggers the transition. So a partial execution of the transition is getting done, which is somehow odd.

Is this works "as designed" or have we found a bug here?
IMHO the transition shall never get asked to be fired if the precondition of the transition node checks of the UI is not passing the basic validation at all.

Can someone bring light in this dark?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO power users and admins
Specialized for AI-based Solutions with Znuny

IT Governance Portal
hkais
Znuny wizard
Posts: 363
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Bug with Process UIs? if validation fails transistion triggered?

Post by hkais »

anyone who can bring light in the dark?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO power users and admins
Specialized for AI-based Solutions with Znuny

IT Governance Portal
Johannes
Moderator
Posts: 425
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: Bug with Process UIs? if validation fails transistion triggered?

Post by Johannes »

Hi,

without an example it is hard to tell what is actually happening / where the bug could be.
If the validations are "not valid" they should not be triggered. And I did not had this case before, so an example would be nice.
If you are sure that this is a bug, a GH issue (with an example) would be nice.

regards
Locked