The issue is caused by using single quotes in article body. Please find the sample text statement:
|To ensure information security events and weaknesses associated with information systems are communicated in a manner allowing timely corrective action to be taken, all employees, contractors and third-party users should be made aware of the procedures for reporting the different types of events and weaknesses that might have an impact on the security of organizational assets.|
Information Security is responsible for monitoring the incident response program and offering suggestions for enhancements when necessary.
Incident Response Plan
A documented Incident Response Plan and procedures shall be in place to report security incidents or system malfunctions to management.
Reporting Information Security Events and Weaknesses
All Denny’s personnel and related third parties are required to note and report any observed or suspected security issues, potential incidents, or weaknesses in systems or services to Information Security.
User Responsibility Discovering Weaknesses
Denny’s personnel should not attempt to prove suspected security weaknesses. Testing weaknesses, with the exception of items approved by IT Management, might be interpreted as a potential misuse of the system and could also cause damage to the information system or services.
- Navigate to any published policy
2. Once it is published, it should create a kb article, with the content, however, it is creating the article but the article body is empty.
It is the single quote (Denny's) in the policy text that is causing the problem. The property glide.html.sanitize_all_fields property is missing in the instance.
Once the glide.html.sanitize_all_fields property is created with value "true" the issue is solved.
Also additionally, If you have the glide.html.sanitize_all_fields property set to true, then create a policy with policy text having a single table cell, then view xml, you can see the policy_text field has this data,
<table style="border-collapse: collapse; width: 100%;" border="1"><tbody><tr><td style="width: 100%;"> </td></tr></tbody></table>
now if you set this property to false, create a policy with policy text having a single table cell, when you view xml, you see this,
<table style="border-collapse: collapse; width: 100%;" border="1"> <tbody> <tr> <td style="width: 100%;"> </td> </tr> </tbody> </table>
It looks like with glide.html.sanitize_all_fields set to false, the policy text field has an extra " ", which cause error when we call the GlideJellyRunner script.
I noticed that there's another property glide.translated_html.sanitize_all_fields, properly for translated html fields.