Notifications

31 views

Description

When creating an Incident from a Call (new_call), the description contains un-encoded HTML in it, such as tags and <> symbols.

Steps to Reproduce

 

  1. Install the Service Desk Call plugin.
  2. Set the system property glide.ui.escape_text to false.
  3. Navigate to Service Desk Call > New Call.
  4. Set the Call Type to Incident and add a Caller.
  5. Add some text into the description as well as some blank lines and a < symbol.
  6. Click Submit.
  7. Click the Link to the new incident created.
  8. Add the Description field to the form and see it has some HTML elements.

    Observe the description is formatted, but showing raw HTML tags.

Workaround

This problem is fixed in London, where the Business Rule responsible for the new record insert, CallTypeChanged (sys_script_691ead21eb000100a04d4910f206fef7), has been modified replacing the following getHTMLValue occurrences:

From:
gr.description = current.description.getHTMLValue();
To:
gr.description = current.description;

 
From:
gr.comments = current.description.getHTMLValue();
To:
gr.comments = current.description.getValue();


Related Problem: PRB1235564

Seen In

There is no data to report.

Fixed In

London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-11-12 06:51:13
Published:2018-11-12