-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
3
-
Severity 2 - Major
Issue Summary
When creating issues via non login customer portal and using a new external customer account , it is throwing error :-
This form contains a hidden field that does not have a valid default value configured
In the developer tool , it show :-
{
"errors": [
{
"errorMessage": "This form contains a hidden field that does not have a valid default value configured"
},
{
"errorMessage": "Please provide a valid value for field 'priority'",
"field": "priority"
}
],
"reasonKey": "validation.error",
"reasonCode": "400"
}
This happened even though there's no default value set in the request form.
And if the "Priority" field is added to the request form and set with a default value , the value doesn't show in the request form when accessing a non-login portal.
This is reproducible on Data Center: (yes) / (no)
Steps to Reproduce
- Open a JSM global configuration customer access configuration
- Enable "Customers can access and send requests from the portal without logging in"
- Open team managed project portal via incognito
- Try to create ticket
Expected Results
Ticket successfully created
Actual Results
"This form contains a hidden field that does not have a valid default value configured" error throwed and expecting for a valid priority field value.
Workaround
No actual workaround to set default priority field for non login customer. The only way to prevent the error are to add the priority field to the "Request form" screen and let the customer set the "Priority" field value.