You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FileUploadImproved - allowMultiple - "Invalid output generated for field allowMultiple... Error when processing and converting between data types"
#1483
Open
gbreavin opened this issue
Nov 24, 2023
· 1 comment
Add the FileUploadImproved Component as a screen element - just the Next button is needed
Add a checkbox underneath (default value: unchecked), and set the Validate Input that the checkbox must be ticked before proceeding
To summarise, the Flow should have the FUI component, a checkbox that is unticked, and validate logic such that the user can't proceed without ticking it
Run the Flow - keep hitting the "Finish" button
This behaviour has been confirmed in Chrome.
Expected behaviour
Every click, you should be warned with the error message that was set above
Actual behaviour
Intermittently - about 1 in 6 times - you receive the following error message:
The Lightning Component FileUploadImproved generated invalid output for field allowMultiple. Contact your administrator with these details: Flow encountered an error when processing and converting between data types. Please check the flow and ensure all data types are matched correctly
Clicking again, the problem will likely go away, but keep clicking, and it'll come back at some point.
We have this happening in 5 sandboxes (on preview pods), but not in one of our other sandboxes (on a non-preview pod), and not in Production. All (including Production) are on the same release - Winter '24 Patch 14.8
This was only noticed in our sandboxes this week - the flows were on v57.0, updating to v59.0 does not appear to solve the issue.
There's this known issue, but few other details. Elsewhere there are suggestions that it might be session related i.e. clear browser cache and the problem goes away, but that doesn't seem to be the case.
Screenshots
Debug Logs
See below for some of the details of the network request.
First is the request to the server - this appears to be the same for both failure and success scenarios, so I've only included one. Note that on the way to the server, FileUploadOriginal.allowMultiple is true. This leads me to believe maybe it's something on the server?
Now for the responses - one where there is no issue, and the other when an issue occurs. When the issue occurs, it appears the server believes that allowMultiple is null.
And so, the weekend comes and goes, and with its passing, the issue mysteriously disappears. We've not changed anything, Salesforce doesn't appear to have applied any patches over the weekend (still on Winter '24 Patch 14.8). We're still keeping an eye out it for now.
Steps to reproduce
This behaviour has been confirmed in Chrome.
Expected behaviour
Every click, you should be warned with the error message that was set above
Actual behaviour
Intermittently - about 1 in 6 times - you receive the following error message:
Clicking again, the problem will likely go away, but keep clicking, and it'll come back at some point.
We have this happening in 5 sandboxes (on preview pods), but not in one of our other sandboxes (on a non-preview pod), and not in Production. All (including Production) are on the same release - Winter '24 Patch 14.8
This was only noticed in our sandboxes this week - the flows were on v57.0, updating to v59.0 does not appear to solve the issue.
There's this known issue, but few other details. Elsewhere there are suggestions that it might be session related i.e. clear browser cache and the problem goes away, but that doesn't seem to be the case.
Screenshots
Debug Logs
See below for some of the details of the network request.
First is the request to the server - this appears to be the same for both failure and success scenarios, so I've only included one. Note that on the way to the server, FileUploadOriginal.allowMultiple is true. This leads me to believe maybe it's something on the server?
Request to server
Now for the responses - one where there is no issue, and the other when an issue occurs. When the issue occurs, it appears the server believes that allowMultiple is null.
Server Response - failure
Server Response - success
The text was updated successfully, but these errors were encountered: