uDIG
  1. uDIG
  2. UDIG-1665

selected features not deleted

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: UDIG 1.2.RC3
    • Fix Version/s: UDIG 1.2.RC3
    • Component/s: tools and editing
    • Labels:
      None
    • Environment:
      Linux 64
    • Patch attached:
      Yes

      Description

      In net.refractions.udig.project.internal.commands.edit.DeleteManyFeaturesCommand

      the line:
      FeatureStore<SimpleFeatureType, SimpleFeature> fs = ilayer.getResource(FeatureStore.class, monitor);

      returns me an null object when trying to delete features.

      In my opinion net.refractions.udig.project.internal.impl.LayerResource
      needs a change in resolve.

      While canResolve has:
      return geoResource.canResolve(adaptee);

      the resolve method misses:
      if (this.geoResource.canResolve(adaptee))

      { return geoResource.resolve(adaptee, monitor); }

      therefore doing canResolve == true but then not being able to resolve.

      Fix is to add the above method.

        Activity

          People

          • Assignee:
            Andrea Antonello
            Reporter:
            Andrea Antonello
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: