Adding an Invalid Color to the Color Picker then Clicking Clone Style Breaks the Color Picker.

THIS ARTICLE APPLIES TO:

Knowlegebase 8.3.2 HF 1 and 2

ISSUE DESCRIPTION:

Adding an invalid color to the color picker then clicking clone style breaks the color picker completely and it no longer functions for that customer portal.

ROOT CAUSE:

Steps to confirm the behavior:
1.   Log in to the Knowledgebase Admin Panel.
2.   Go to the Portal tab.
3.   Copy a portal of your choosing.
4.   On the new portal go to Portal Customization.
5.   Select Color Scheme.
6.   Clone a new style.
7.   Name the new style and hit save.
8.   Select Article Link Color.
9.   Enter an invalid color.
10. Save this now over the current color scheme by selecting save.

Receive the error message “Template Data Error: Article Link Color - [##456663] is not a valid color”.

Now it is no longer possible to access the color scheme for the portal. Expected behavior: It should be possible to access the Color Scheme and add new colors and save them continuously at any given time.

SOLUTION OR WORK AROUND:

Make a back up of these 2 files on the knowledgebase server and then click the links in this article to download the replacements for them.

1. File: styleBuilder.aspx
     Location: ":\Program Files\KnowledgeBase.Net\knowledgebase\applicationprogram\ui\http\ClientPortal\customer\portalUI" folder.

2. File: colors.js
  Location: ":\Program Files\KnowledgeBase.Net\knowledgebase\applicationprogram\ui\http\ClientPortal\js" folder.

Replace the files listed or apply hotfix 3.

AFFECTED SYSTEMS & USERS:

Knowledgebase 8.3.2.21.2 users that have permissions to change portal colors and styles.

ADDITIONAL INFORMATION:

TFS 11987 resolved in 8.3.2HF3

ESCALATION PROCEDURE:

If you have questions about performing these steps, please contact our Support team at 877-373-7848 (option 2) or via email at CIMSupport@moxiesoft.com.