KB Article #177789

API Portal 7.4.2 issue with Purity Plugin

Problem

When customising and saving a custom theme configuration based on the default Axway purity theme the save fails.

A logo with “the Purity” image is introduced in addition to the original logo.

It seems the save function completes only halfway and if the theme is loaded as part of the template you will see on the Portal that although the theme colours are applied the page configurations are not saved - another page configuration is introduced.

Resolution

The problem occurs because the copy of the templates has a different base path to the original.

This causes the templates to fail to compile. Currently the only available fix is to change the @import paths in the following files:

/opt/axway/apiportal/htdoc/templates/purity_iii/local/less/themes/<axway-copy>/template.less

/opt/axway/apiportal/htdoc/templates/purity_iii/local/less/themes/<axway-copy>/variables.less

From:

../../custom-themed.less (in template.less)

../../variables-themed.less (in variables.less)

To:

../../../../less/custom-themed.less

../../../../less/variables-themed.less

Respectively.

Also, as a workaround you can work on the Axway theme without copying it beforehand.


The issue will be fixed in 7.5