When trying to make a wikitext field mandatory via a UI Policy, the javascript error "Cannot read property 'removeClassName' of undefined" is generated.


Steps to Reproduce

1 - Go to kb_knowledge.list
2 - Choose any knowledge article
3 - Right click choose configure > all
4 - Disable all the UI Policies
5 - Create a new UI Policy
6 - Create a new UI Policy Action that makes the wiki field mandatory
7 - Save
8 - Go to any knowledge article

Notice the javascript error in the browser console:
Cannot read property 'removeClassName' of undefined +-- Parse times


After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make this decision lightly, and we apologise for any inconvenience.

As a workaround, use a Client Script instead of a UI Policy.

Related Problem: PRB629137

Seen In

Fuji Patch 1
Fuji Patch 10
Geneva Patch 1
Geneva Patch 3 Hot Fix 2
Geneva Patch 5

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-04-12 09:49:17