Merged layer with sublayers not in tree crashes
If you define a WMS layer with multiple resources, if one of them has no according node in the MapFishLayerTree widget, clicking on any other node of this same layer will throws a javascript error.
No one ever did that with the legacy XML configs, but the new PGSQLMapContextConfig automatically creates layers and nodes, so that can happen more often and we have no control over the error when that occurs.
Change History
(3)
Resolution: |
→ fixed
|
Status: |
new → closed
|
Component: |
server → widgets
|
r870
Ignoring sublayers that have no nodes in the layertree did the trick. Problem fixed.