cancel
Showing results for 
Search instead for 
Did you mean: 

Custom theme is not rendered when system restart is provided

Former Member
0 Kudos

Hi All,

We are currently in  the process of upgrading SAP Portal 7.0 to 7.4.

I created custom theme based on standard SAP Tradeshow on our development system.

But Anytime I change system parameters like session timeout or cookie configuration e.g. setting it secure etc and provide a system restart, the theme is not behaving properly. No images are seen nor can we move around the portal.

When we provide a normal system restart w/o changing any system parameters, it works perfectly.

When I check the HTTp watch, it shows 404 error for the custom theme.

To summarise, only when system parameters are changed and restart is provided, custom theme behaves this way.

Importing and exporting theme gives no error and works fine. This happens on the environment where the theme is developed itself.

PFA attached screenshots.

Regards,

Deep Desai

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

It's important to mentioned that some of the customers try to run a theme with NWBC framework despite that this not supported by SAP.

So please check if this is your case.

Former Member
0 Kudos

Hi Florian,

Are you using theme imported from portal? or theme imported from NWBC?

Regards,

Mahmoud

Former Member
0 Kudos

Hi,

try following KBA:


2195099 - Portal theme is inconsistent after upgrade


Regards,

Mahmoud

0 Kudos

Hi all, we are facing the same issue with upgrade from 7.4 SPS08 to SPS11. We already implemented the mentioned note 2195099 but the result is the same as before, after restart custom themes are lost at least for WebDynpro and SAP WebGUI for HTML...

Former Member
0 Kudos

Hi Florian,

Is the issue reproduced in all server nodes? or just in some of theme? are you using theme designer tool or theme editor tool?

Regards,
Mahmoud

Former Member
0 Kudos

if it's just reproduced for some server nodes, can you restart the laf service in server nodes that not working as expected?

0 Kudos

Hi Mahmoud, sorry for the delayed answer, we tried the following start only node 0, import theme rebuild it, start node 1, shut down node 0, check theme (not available) import theme again on node 1, rebuild it, restart system -> imported theme is gone again (seems on both nodes).

Former Member
0 Kudos

Hi Florian,

Can you check following note: 1446099?

Regards,

Mahmoud

0 Kudos

Hi Mahmoud, of course I checked this, on Portal we have for UR 10.30.1.236562 on SAP back-end we have UR version 10.30.0.231760.

Former Member
0 Kudos

Hi Florian,

The versions seems ok, and as you mentioned this issue reproduce for all server nodes. Right?

If you try to run a custom theme base on sap_tradeshow is it rendered as excepected? or the sap_tradeshow is rendered?

0 Kudos

Hi Mahmoud,

I verified the following as well, just passing the parameter sap-theme to any (trusted) WebDynpro ABAP service:

1) SAP Standard Portal Themes applied on WD ABAPs - OK

https://redportderpd.sap.redbull.com/sap/bc/webdynpro/SAP/Y0_FI_WEB_WORKLIST?sap-client=010&sap-lang... theme=sap_bluecrystal@https://redportd.sap.redbull.com/com.sap.portal.theming.webdav.themeswebdavlistener

https://redportderpd.sap.redbull.com/sap/bc/webdynpro/SAP/Y0_FI_WEB_WORKLIST?sap-client=010&sap-lang... theme=sap_goldreflection@https://redportd.sap.redbull.com/com.sap.portal.theming.webdav.themeswebdavlistener

2) Custom Theme (imported & rebuilt) applied on WD ABAPs - NOK

https://redportderpd.sap.redbull.com/sap/bc/webdynpro/SAP/Y0_FI_WEB_WORKLIST?sap-client=010&sap-lang... theme=redbull_sap_goldreflection@https://redportd.sap.redbull.com/com.sap.portal.theming.webdav.themeswebdavlistener

https://redportderpd.sap.redbull.com/sap/bc/webdynpro/SAP/Y0_FI_WEB_WORKLIST?sap-client=010&sap-lang... theme=redbull_sap_bluecrystal@https://redportd.sap.redbull.com/com.sap.portal.theming.webdav.themeswebdavlistener

Based on this I guess there must be something wrong, maybe during rebuild or during System restart.

When I check this after importing the theme its operating as expeceted (but just on the node where I imported it). Additionally I shut down the working node and imported the theme also on the corrupt node, tested it - worked, after all I performed an system restart... checked again, same issue as before.

Former Member
0 Kudos

Hi Florian,

It's seem that your issue related to cluster(with more than one server node) issue.

When you stop all server nodes and start the main server node then start other server node one after one(not on the same time) is the issue still happening after that?

For more details about above workareound you can see following note:

2195099 - Portal theme is inconsistent after upgrade

Regards,

Mahmoud

0 Kudos

Hi Mahmoud, thats whats we did initially, we already implemented the mentioned note 2195099 but the result is the same as before, after restart custom themes are lost (not lost, they are still on the System but not working anymore), anyway thank you for your help, two weeks before we opened OSS message but it Looks like SAP has also Problems to find the origin of this issue, currently they think there are Problems on 'Save & Build' with UI Theme Designer. We will see, thank you!

Former Member
0 Kudos

Hi,

Please check the below note.

Note 1517914 - Themes & Styles - Specific Component Note

Analyzing the issue with HTTPWATCH (or other HTTP tracing tool) shows that one of the CSS files is not referenced at all:

.../irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/sap_tradeshow/glbl/glbl_ie6.css


Issue occurs only with customized framework page and not with SAP default framework page (pcd:portal_content/every_user/general/frameworkpage)


Solution: Use the PCD inspector tool:

../irj/servlet/prt/portal/prteventname/HtmlbEvent/prtro

ot/com.sap.portal.pcd.admintools.pcd_inspector_browser.default


And navigate to the customized framework page to check the follwoing property:

    'com.sap.portal.themes.lafservice.requiredThemeParts'


Its value should be 'prtl_std;global'


- If the property is missing it should be added with this value.

Thanks

Rishi Abrol


- Issue is described on SAP note #1503500.


Former Member
0 Kudos

This property is checked and is as required.

Issue still persists.

Former Member
0 Kudos

Hi,

Please check the below note.

1600290 - Pages in System Administration Role Not Displayed Using Portal Stylesheets in Custom Frame...

and

You should add a property to your customized frameworkpage page via the PCD inspector:


     'com.sap.portal.themes.lafservice.requiredThemeParts'


     and set it with value:


     prtl_std;global


This will ensure that the relevant css files mentioned above will be downloaded to the client.

The property exists by default in framework pages provided by SAP.

If this also doesn't helps please contact sap.

Thanks

Rishi Abrol