[FORM-13] Forms rules won't initialize properly Created: 07/Sep/23  Updated: 07/Sep/23  Resolved: 07/Sep/23

Status: Closed
Project: FORM
Component/s: None
Affects Version/s: 1.2.2
Fix Version/s: 1.2.3

Type: Bug Priority: Neutral
Reporter: Raphael Falvo Assignee: Raphael Falvo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Team: Services

 Description   

Version 2.0.2 of ui-framework-javascript introduced an issue. Works on 2.0.1.

The event?.data?.state?.formFields is {} during 'init' (event.data.action === "init")
From the formFields an id is accessed to fetch the requested form, when the id is undefined it cases the form rules not to load.
 
Solution: * Load the formId from the parent window URL if the formId is undefined


Generated at Mon Feb 12 01:58:01 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.