When trying to use the Compare with latest template function in standard change proposals of 'Modify an existing template' Proposal type, if the value of a custom Change Request field is set to "--none--", the diff function breaks.DescriptionWhen trying to use the Compare with latest template function in standard change proposals of 'Modify an existing template' Proposal type, if the value of a custom Change Request field is set to "--none--", the diff function breaks.Steps to Reproduce 01) Navigate to sys_dictionary.list and create a new record:Table: change_requestType: StringColumn label: U String FieldColumn name: u_string_fieldMax length: 40Choice List Specification > Choice: Dropdown with -- None --02) Navigate to std_change_record_producer.list and open 'Reboot Windows Server' (or any other Template name)03) Under Related Links, click on 'Modify Template'Template description : testChange Request values > Assignment Group : Change ManagementChange Request values > Justification : testChange Request values > Risk and impact analysis : testChange Request values > U String Field : -- None --Then click 'Save' at the bottom right04) After page reloads, under Related Links, click on 'Compare with latest template'EXPECTED: Compare with latest template should be able to compare changesACTUAL: Compare with latest template breaks with the following error:TypeError: Cannot convert null to an object. (sys_script_include.871fb6060a0a0bb000fc0c937940583d.script; line81)WorkaroundWithin the StdChangeUtils Script Include, add the following function to the script to override the _getDisplayValueFromGlideRecord function: _getDisplayValueFromGlideRecord: function(name, queryNameLabels, queryNameValues, sampleChangeGr) { var displayValue = ""; var fieldName; var fieldValue; var queryCtr = -1; for (var i = 0; i < queryNameLabels.length; i++) if (queryNameLabels[i].name === name) queryCtr = i; if (queryCtr >= 0) { fieldName = queryNameValues.names[queryCtr]; fieldValue = queryNameValues.vals[queryCtr]; if (fieldValue.startsWith('javascript:')) { var scriptEvaluator = new GlideScriptEvaluator(); scriptEvaluator.setEnforceSecurity(true); fieldValue = scriptEvaluator.evaluateString(fieldValue, false) + ""; } if (queryNameLabels[queryCtr].valid) { sampleChangeGr.setValue(fieldName, fieldValue); displayValue = sampleChangeGr.getDisplayValue(fieldName); } else displayValue = fieldValue; } // The Differ that ends up using these values dies spectacularly when given a null value to diff if (typeof displayValue === "undefined" || displayValue == null) return ""; return displayValue; }, The bold section of code is the change that prevents this problem from occurring.Related Problem: PRB1526094