1
0
-1

Dear All,

I migrated one v5 joget appliation to DX, after upgrading I am not able to get Admin Bar for DX version.


I could see below exception in the console

Uncaught TypeError: Cannot read properties of undefined (reading 'classes')
at String.<anonymous> (common.preload.js?build=a6e5b5f:formatted:8600:35)
at Function.each (common.preload.js?build=a6e5b5f:formatted:163:34)
at t.<computed>.<computed>._resolveClassesValues (common.preload.js?build=a6e5b5f:formatted:8599:22)
at t.<computed>.<computed>._resolveClassesValues (common.preload.js?build=a6e5b5f:formatted:4721:27)
at HTMLAnchorElement.<anonymous> (common.preload.js?build=a6e5b5f:formatted:8523:45)
at Function.each (common.preload.js?build=a6e5b5f:formatted:159:34)
at e.fn.init.each (common.preload.js?build=a6e5b5f:formatted:77:22)
at String.<anonymous> (common.preload.js?build=a6e5b5f:formatted:8517:35)
at Function.each (common.preload.js?build=a6e5b5f:formatted:163:34)
at t.<computed>.<computed>._initWidgets (common.preload.js?build=a6e5b5f:formatted:8505:15)


How do I resolve missing Admin Bar  issue?

Thanks,

Jeeva

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      If you cannot see the admin, it could mean that you now do not have the "ROLE_ADMIN" for the username. If you have access to the database, go to the DB table dir_user_role and just change the "ROLE_USER" to "ROLE_ADMIN".

        CommentAdd your comment...