SAP Knowledge Base Article - Preview

2567772 - Import of legacy custom theme into portal fails

Symptom

  • Import of legacy theme (created using theme editor) to a LESS mode portal (uses UI Theme Designer) fails.
  • In default trace or tshw trace file following error is logged:

    Failed to convert theme <theme_name> from old structure to new structure
    [EXCEPTION]
    java.lang.RuntimeException: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "setConvertParameterNameFuntion" of undefined (portalmigrator.js#345)
    at com.sap.ui.theming.engine.scripting.ScriptEngine.executeJS(ScriptEngine.java:160)
    at com.sap.ui.theming.engine.scripting.ScriptEngine.executeJSWithEngineClassLoader(ScriptEngine.java:184)
    at com.sap.ui.theming.engine.service.ServiceBase.evalJavaScriptWithEngineClassLoader(ServiceBase.java:158)
    at com.sap.ui.theming.engine.service.ServiceBase.evalJavaScriptFileRelative(ServiceBase.java:238)
    at com.sap.ui.theming.engine.service.MigrationService.doExecute(MigrationService.java:46)
    at com.sap.ui.theming.engine.service.ServiceBase.execute(ServiceBase.java:76)
    at com.sap.portal.theming.migration.PortalLessMigrationService.executeMigrateTheme(PortalLessMigrationService.java:176)


Read more...

Environment

  • SAP enhancement package 1 for SAP NetWeaver 7.3 SP19
  • SAP NetWeaver 7.4 SP15

Product

SAP ERP 6.0

Keywords

Enterprise Portal 7.31, EP 7.31, Enterprise Portal 7.40, EP 7.4, setConvertParameterNameFuntion, Log contain Errors. Please check the log file, portal upgrade, transport, migration, old theme , KBA , CA-UI2-THD , Theme Designer , EP-PIN-TOL-UTD , UI Theme Designer in Portal & new theme structure issues , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.