Problem
After updating the Linchpin Theme app (which is part of the Linchpin Intranet Suite and Linchpin Essentials) from an older version to version 2.17 or higher, you might notice:
- the menu no longer displaying in spaces using a Space Layout
- nothing happens when trying to edit Space Layouts (on
/admin/linchpin-spaces/theme/configure-spaces.action
)
The following error message appears in the browser developer console (F12 > Console) when clicking the pen icon to edit a space layout:
Uncaught ReferenceError: createIcon is not defined
at eval (eval at g.template (batch.js:248), <anonymous>:66:9)
at a (batch.js:248)
at i.partial (batch.js:70)
at i.renderScheme (batch.js:55)
Cause
The root cause is not clear yet. Likely, the change that allows configuring whether to display the menu in space layouts is not picking up its default value correctly.
Workaround
Downgrading the Linchpin Theme will not work around the problem.
Resolution
The following steps will allow you to edit space layouts again:
In the Linchpin Theme configuration (
/admin/linchpin/theme/configure.action
) navigate to the section AdvancedSlightly modify the Custom CSS in any way, e.g. by inserting a space or newline character
Save the Linchpin Theme settings
You can now undo your changes from 2. if you like
- Linchpin Theme is part of the Linchpin Intranet Suite and Linchpin Essentials
Check out the solution to "Theme configuration can not be loaded" here!