Steps to Reproduce
- Navigate to Knowledge > Properties.
- Search for the property Knowledge search result order (glide.knowman.order.search).
- Change this property value to Views, then click Save.
- Navigate to the Knowledge v3 homepage or Knowledge v2 portal ($knowledge.do or kb_home.do).
- Perform a search.
This problem has been fixed in Geneva Patch 4. In case an upgrade is not immediately possible, please refer to this workaround and visit the Community thread in the Associated Community Threads section below.
Script the following business rule to catch and fix these preferences before they're submitted:
When: before (insert, update)
Condition: current.name == "knowledge.search.sort.field" && current.value.startsWith("*Undefined")
gs.log("Detected corrupt preferences for " + current.user);
gs.eventQueue("sys_user_preference.bug.created", current, current.user, current.user);
current.value = "relevancy";
gs.log("Defaulted corrupt preferences for " + current.user);
Related Problem: PRB624352