Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.1.1, 5.2.0
-
None
-
4
-
Severity 3 - Minor
-
Description
Issue Summary
"Please provide a value for required field '<custom_field_name>'" error is thrown when using a default value for Insight objects custom field in the customer portal.
This is reproducible on Data Center: yes
Steps to Reproduce
- Create IT service management sample project. Let's call this project ITSM.
- Create an Insight object schema and populate some objects in it or reuse an existing Insight schema if you already have one.
- Create an Insight objects custom field. Let's call this Test field. Configure a default value for this custom field. It should look like the screenshot below:
- Make Test field a Required field in the customer portal for one of the request types in the ITSM project settings. It should look like the screenshot below:
- Try to create an issue for the request type in the ITSM project's customer portal. Leave the Test field value as pre-populated with the default value.
Expected Results
Issue creation is successful via the customer portal with the default value for the Insight objects custom field.
Actual Results
The "Please provide a value for required field '<custom_field_name>'" error is thrown blocking the issue creation in the customer portal.
Workaround
- Clear the default value from the Insight objects custom field in the customer portal and populate the field again with the appropriate object to proceed with the issue creation; or
- Disable the `insight.cf.react.on.cp` feature flag to revert the custom field component to the old one