Skip to content

Commit

Permalink
Merge pull request #4062 from nboisteault/fix-error-group-rights
Browse files Browse the repository at this point in the history
Update treeview.qgs to reproduce layer/group rights issue
  • Loading branch information
nboisteault authored Jan 11, 2024
2 parents 58f5235 + 85ae9b5 commit f75d3c3
Show file tree
Hide file tree
Showing 3 changed files with 1,070 additions and 243 deletions.
3 changes: 2 additions & 1 deletion assets/src/modules/config/LayerTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,8 @@ function buildLayerTreeGroupConfigItems(wmsCapaLayerGroup, layersCfg, level) {
const wmsName = wmsCapaLayer.Name;
const cfg = layersCfg.getLayerConfigByWmsName(wmsName);
if (cfg == null) {
throw new RangeError('The WMS layer name `'+ wmsName +'` is unknown!');
console.log('The WMS layer name `'+ wmsName +'` is unknown!');
continue;
}
if (wmsCapaLayer.hasOwnProperty('Layer') && wmsCapaLayer.Layer.length != 0) {
const groupItems = buildLayerTreeGroupConfigItems(wmsCapaLayer, layersCfg, level+1);
Expand Down
Loading

1 comment on commit f75d3c3

@3liz-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest weekly run of end2end "playwright" tests failed with this latest commit on the branch release_3_6 😣

CC @nboisteault and @Gustry, please have a look to the logs. Maybe it's a false positive ?

Visit https://github.com/3liz/lizmap-web-client/actions/runs/7523887126

Please sign in to comment.