qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.6k stars 3.01k forks source link

Cannot set property 'abstract' of undefined #30389

Closed luissb94 closed 5 years ago

luissb94 commented 5 years ago

I'm using QGIS-Server Madeira 3.4.8 with QGIS-Web-Client on a Debian 9 Stretch.

When I open the project it's always trying to load the map and I get this error:

Uncaught TypeError: Cannot set property 'abstract' of undefined at constructor. (WebgisInit.js:2232) at constructor.cascade (ext-all-debug-w-comments.js:54565) at addAbstractToLayerGroups (WebgisInit.js:2227) at postLoading (WebgisInit.js:348) at Ext.tree.AsyncTreeNode.load (WebgisInit.js:244) at EXTUTIL.Event.fire (ext-all-debug-w-comments.js:518) at Ext.tree.AsyncTreeNode.fireEvent (ext-all-debug-w-comments.js:159) at Ext.tree.AsyncTreeNode.fireEvent (ext-all-debug-w-comments.js:54140) at Ext.tree.AsyncTreeNode.loadComplete (ext-all-debug-w-comments.js:55372) at Ext.tree.AsyncTreeNode. (ext-base-debug.js:969)

Any solution?

gioman commented 5 years ago

seems like a problem in QWC, isn't it? @luissb94

luissb94 commented 5 years ago

Yes I think so, but the problem is that I copied all the files from the project using QGIS-SERVER 2.x to the one that uses version 3.4 and it does not work then I suposed it could be the server.

alexbruy commented 5 years ago

Closing as error comes from the QWC not QGIS. Please reopen if necessary.