Uploaded image for project: 'Geomajas GWT2 client'
  1. Geomajas GWT2 client
  2. GWTII-86

Moving a client layer (e.g. WMS client) up or down causes NPE and messes up the layers model

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Plugin: WMS
    • Labels:
      None

      Description

      In org.geomajas.puregwt.client.map.layer.LayersModelImpl.moveLayer()
      there is:
      ClientLayerInfo layerInfo = mapInfo.getLayers().get(currentIndex);
      But for client layers, this layerInfo will be null.
      A but further this results in an NPE.

        Attachments

          Activity

            People

            • Assignee:
              anb An Buyle
              Reporter:
              anb An Buyle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: