cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom theme load error with Patch level independent bootstrap (i.e. evergreen version)

pietrom_
Explorer
0 Likes
1,091

Hello,

I made my application use the SAPUI5 "evergreen version" based on the 1.84 LTM libraries (https://blogs.sap.com/2022/04/14/sapui5-patch-level-independent-bootstrap/).

        <script id="sap-ui-bootstrap"<br>            src="https://ui5.sap.com/1.84/resources/sap-ui-core.js"<br>            data-sap-ui-appCacheBuster="./" <br>            data-sap-ui-versionedLibCss="true"<br>            data-sap-ui-theme="my_custom_theme"<br>            data-sap-ui-theme-roots='{"my_custom_theme": "/comsapuitheming.runtime/themeroot/v1/UI5"}'<br>            data-sap-ui-compatVersion="edge"<br>            data-sap-ui-oninit="module:sap/ui/core/ComponentSupport"<br>            data-sap-ui-async="true"<br>            data-sap-ui-frameOptions="trusted"><br>        </script>

My application uses a custom theme based on sap_fiori_3 and I'm experiencing some issues with the custom CSS loading made at start up.

I've seen that when I use the evergreen version, my application makes this call:

https://port6004-workspaces-ws-xxxxx.eu10.applicationstudio.cloud.sap/comsapuitheming.runtime/themer...

The issue is that the resource identified by that URL does not exist, since by visiting that address I'm redirected to:

https://sapui5.hana.ondemand.com/1.84.25/resources/sap/ui/core/themes/sap_fiori_3/custom.css

This URL instead seems to work (version = sap-ui-dist-version), so I imagined it could be a bug of the theme loading mechanism:

https://port6004-workspaces-ws-xxxxx.eu10.applicationstudio.cloud.sap/comsapuitheming.runtime/themer...

In the meantime I reverted to using a specific patch level.Is this an SAP issue? Can someone help me figure out if there's something wrong?

Thanks,
Pietro

Accepted Solutions (0)

Answers (1)

Answers (1)

FlorianVogt
Product and Topic Expert
Product and Topic Expert

Hi Pietro,
this sounds definitely like an issue
Could you please create an issue in the SAP One Support Launchpad for the theme designer component?https://launchpad.support.sap.com/#/incident/create
Best Regards,
Florian

pietrom_
Explorer

Hi Florian,
I've opened an incident (389002 / 2022).

Best regards,
Pietro