Session timeout whilst saving Clarity UI Theme causes the Theme to become lost/corrupted
Document ID :
Last Modified Date :
Show Technical Document Details
CA PPM INTEGRATIONS & INSTALLATIONS:PPMENV
CA PPM SAAS INSTALLATION AND UPGRADE:ODENV
During a long editing period of a UI Theme, if your session times out and then you click Save and Return it is possible for your theme to be incorrectly saved to the system leaving it incomplete.
Steps to Reproduce:
Alter Clarity's Minutes Of Activity Until Logout in the General Settings page to 2 minutes (note: this is just to demonstrate the issue more quickly but the problem exists with larger values like 60 minutes just the same).
Navigate to Admin > Studio: UI Themes.
Click on 'Default' or 'Teal and Grey' as available depending on your version of Clarity, and copy the entire contents of the CSS to the clipboard.
Click New to create a new theme.
Call it 'test' with ID 'test' and paste the CSS into the field from the clipboard.
Click Save and Return.
Click on 'test' theme to open its properties again.
Wait 3 minutes.
Click on Save and Return.
User should be returned to login screen with the stock 'session timeout' message, with no theme corruption and without half of the theme CSS being displayed on the login page as plain text.
User is returned to login screen with the stock 'session timeout' message including additional text from the CSS on the page. Upon logging back into Clarity and checking the theme, half of it has been lost.
CA PPM 14.2
Caused by CLRT-78982
The issue has been fixed from CA PPM 15.x onwards.
No workaround has been identified for this problem. Just keep the session current and not timing out between saves to prevent it from occurring.
Was this information helpful?