Description
Applying a template to a new Change Request record (change_request.do) does not work if the template contains an empty value for a reference field with the type List, for example, Watch List.
Steps to Reproduce
- Navigate to System Definition > Templates and create a new Template record for the change_request table.
- Set Global to true.
- Add these two fields to the template:
- Watch List = Blank
- Priority = "1 - Critical"
- Go to change_request.do and try to apply the new template using the template bar.
Note: The template will not apply despite a message that says "<template name> Template Applied"
Workaround
This behavior occurs only if the template contains a blank Reference field value on a List-type field.
Use one of the following workarounds:
-
Remove the Reference field from the template.
-
Populate the Reference field on the template with a value.
Related Problem: PRB1170362