Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#135 closed defect (fixed)

Merged layer with sublayers not in tree crashes

Reported by: adube Owned by: adube
Priority: blocker Milestone:
Component: widgets Version:
Keywords: Cc:

Description

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)

comment:1 by adube, 14 years ago

Owner: set to adube

comment:2 by adube, 14 years ago

Resolution: fixed
Status: newclosed

r870

Ignoring sublayers that have no nodes in the layertree did the trick. Problem fixed.

comment:3 by adube, 14 years ago

Component: serverwidgets
Note: See TracTickets for help on using tickets.