SAP Knowledge Base Article - Preview

2988254 - SmartVariantManagement Fiori views or User saved views not available in SAPUI5 1.82 - - TypeError: Cannot read property 'layers' of undefined

Symptom

  • When the user tries to select a saved variant on any Fiori application -> Example clicks on the "Standard" drop down (My Views) it shows the error:
    • Unable to load the data
      This can happen if you are not connected to the Internet, or if an underlying system or component is not available
  • Other errors shown on Console logs:

    ~~~~Other error 1~~~~~~~~

    2020-09-25 15:45:18.452459 'getChanges' failed: undefined

    L.error @ Log-dbg.js:232
      e._setErrorValueState @ SmartVariantManagement-dbg.js:2315
      e._errorHandling @ SmartVariantManagement-dbg.js:1088
      (anonymous) @ SmartVariantManagement-dbg.js:1054
      Promise.then (async)    
      (anonymous) @ SmartVariantManagement-dbg.js:1044
      Promise.then (async)    
      e.initialise @ SmartVariantManagement-dbg.js:1039
      c1._initializeVariantManagement @

    FilterBar-dbg.js:2621




  • Other error 2:

    ~~~~Other error 2~~~~
    TypeError: Cannot read property 'layers' of undefined
        at eval (library-preload.js?eval:formatted:7063)
        at core-min-0.js:55
        at requireAll (core-min-0.js:55)
        at executeModuleDefinition (core-min-0.js:55)
        at ui5Define (core-min-0.js:55)
        at execModule (core-min-0.js:55)
        at requireModule (core-min-0.js:55)
        at requireAll (core-min-0.js:55)
        at Object.r [as require] (core-min-0.js:55)
        at eval (library-preload.js?eval:formatted:2785)



Read more...

Environment

SAPUI5 version 1.82

Product

SAPUI5 1.0

Keywords

"SmartVariant not saved","SmartVariant missing","Saved user settings not seen in Fiori","After upgrading SAPUI5 all saved user settings not seen","SAPUI5 1.82 smartVariant issue" , KBA , CA-UI5-FL-CLN , Flexibility Client Infrastructure , 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.