Loading...
Loading...
Issue • On Brazil instances, both upgraded and new, an HTML-type variable on a catalog item shows script text above its editor in the classic catalog view. Symptoms • This script text appears above the HTML variable's editor: var removeLineMsg = sn_i18n.Message.getMessage('global', 'Remove lines from {fieldName? the field label as a noun} script area', ...); var addLineMsg = ... • It appears on the catalog item page in the classic catalog view, when Service Portal is not used for the legacy catalog. • It also appears on the requested item form, and on other records that show the variable in the variable editor. • The − / + resize buttons above the editor have no tooltip or screen-reader label. • The editor still works. You can enter and submit content. Root cause • The script that makes the labels for the − / + resize buttons runs in a later page-rendering step. • The classic catalog view does not run that step for variables. • So the page shows the script as text instead of running it. Steps to Reproduce 1. On a Brazil instance, set the system property glide.sc.use_portal_in_legacy to false. 2. Open a catalog item or a record producer, for example Create Incident. 3. Add a variable of type HTML. 4. On the item form, click Try It to open the item in the classic catalog view. 5. See the script text above the HTML variable's editor. 6. Optional: submit the item. Then open the requested item, or the record with the variable editor. See the same text.
Disable the text area resize buttons to remove the script text. This action also removes the − / + resize buttons from all multi-line fields on the instance. The editor remains resizable by dragging its bottom-right corner. 1. Log in as an administrator. 2. Go to sys_properties.list. 3. Find glide.ui.textarea_sizer and open it. 4. Set Value to false, then click Update. 5. Reload the catalog item. Check that the script text is gone and the HTML editor works. 6. After you upgrade to Brazil Patch 3 or later, set glide.ui.textarea_sizer back to true. This brings back the resize buttons.
PRB2128974
PRB2128974
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
BugZero Plan
Streamline upgrades with automated vendor bug scrubs
BugZero Prevent
Wish you caught this bug sooner? Get proactive today.