1010 views

Vector icons missing in UI14 if glide.ui.strict_content_types property is restricting download 

 

Symptoms
Instances upgraded to Eureka (now activating the facelift UI14 by default) may have missing vector icons if the system property glide.ui.strict_content_types was previously added. This property may restrict downloading certain file types into the instance temporary folders on the server nodes. The issue does not occur when the UI14 plugin is not active or when the system property glide.ui.doctype is set to false.

When the issue occurs, the new vector icons fail to appear on the UI, and the server log shows the following errors:

08/12/14 12:37:25 (404) NONE Security restricted: Unauthorized static content download blocked: /scripts/tinymce4/skins/lightgray/fonts/tinymce-small.woff
08/12/14 12:37:25 (404) NONE Resource does not exist: /scripts/tinymce4/skins/lightgray/fonts/tinymce-small.woff
08/12/14 12:37:25 (527) NONE Security restricted: Unauthorized static content download blocked: /scripts/tinymce4/skins/lightgray/fonts/tinymce-small.ttf
08/12/14 12:37:25 (528) NONE Resource does not exist: /scripts/tinymce4/skins/lightgray/fonts/tinymce-small.ttf

The Unauthorized static content download blocked message comes from a java class (StaticContentAuthorizer) that checks if users are allowed to download the required static files.If the property glide.ui.strict_content_types is present in a Eureka instance, its value needs to be edited by adding the file types ttf and woff to the list. The instance cache also needs to be flushed.

Article Information

Last Updated:2016-03-09 16:39:33
Published:2014-08-26