We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea964e commit c847713Copy full SHA for c847713
src/config_generator/qgs_reader.py
@@ -107,6 +107,14 @@ def read(self):
107
]
108
self.qgis_version = major * 10000 + minor * 100 + rev
109
110
+ # Check if WMSUseLayerIDs is set
111
+ wmsUseLayerIds = self.root.find('./properties/WMSUseLayerIDs')
112
+ if wmsUseLayerIds is not None and wmsUseLayerIds.text == "true":
113
+ self.logger.warning(
114
+ "'Use layer ids as names' is checked in the QGIS Server properites of '%s', which is not properly supported by QWC2"
115
+ % qgs_filename
116
+ )
117
+
118
except Exception as e:
119
self.logger.error(e)
120
return False
0 commit comments