wso2 / api-manager

All issues, tasks, improvements and new features of WSO2 API Manager
Apache License 2.0
34 stars 8 forks source link

Uploading Devportal theme via the Admin Portal (Tenants Only) is not working #1104

Closed thisaltennakoon closed 1 year ago

thisaltennakoon commented 1 year ago

Description

Even though the steps have been followed in the doc(Overriding Developer Portal Theme --> Tenant Theming--> Uploading Devportal theme via the Admin Portal (Tenants Only))[1] to change the theme of the Devportal by uploading a zip file using the admin portal of the particular tenant, the changes that are included in the zip file won't be applied to the Devportal theme.

Another thing is that the steps and file names need to be more accurate in the documentation[1].

Note: Overriding Developer Portal Theme --> Global Theming[2] worked without any issue.

[1] https://apim.docs.wso2.com/en/4.2.0/reference/customize-product/customizations/customizing-the-developer-portal/overriding-developer-portal-theme/#uploading-devportal-theme-via-the-admin-portal-tenants-only [2] https://apim.docs.wso2.com/en/4.2.0/reference/customize-product/customizations/customizing-the-developer-portal/overriding-developer-portal-theme/#global-theming

Steps to Reproduce

Follow the instructions in the document[1]

Affected Component

APIM

Version

APIM 4.2.0 Pre-alpha

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

DinithHerath commented 1 year ago

Hi @thisaltennakoon

In this once the tenant theme is applied for the first time, we need to hard refresh the page or log out and log back in to the specific tenant to get the changes reflected. Otherwise I guess the files are served from the cache and you don't see any change.

That is why the logout and login part is mentioned in the doc.

Let me know your thought on this.

Thanks and regards Dinith Herath

DinithHerath commented 1 year ago

As discussed offline with @thisaltennakoon, closing this issue since it is fixed in latest release