Details
-
Type:
Bug
-
Status:
Open
-
Priority:
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))
therefore doing canResolve == true but then not being able to resolve.
Fix is to add the above method.