Hi List
sorry to bother you guys with something I guess belongs in the JIRA, but
after convincing the powers that be to switch from proprietary software
to OpenLayers/Geoserver, I really have to get this thing to work fast
Anywho, I just hooked up my geoserver 2.0 to a postgis database and used
an openlayers based client to display a wms overlayed with features from
a wfs. To test the whole thing I simply adjusted the OpenLayers 2.8
example at
http://dev.openlayers.org/releases/OpenLayers-2.8/examples/wfs-protocol-transactions.html
I then realized that the Delete operation was not working. A quick
analysis showed that unlike the Insert operation (which worked fine),
the DeleteElementType drops the "xmlns:feature="http://www.myuri.net"
attribute from the wfs:Delete node. Yet during Transaction.execute() the
available FeatureStores are mapped against the full typeName (e.g.
{www.myuri.net}myfeature). By doing this, the store is no longer found
inside DeleteElementHandler.execute(), where the map is searched using
only the "base" typeName as stored in the DeleteElementType object (in
this case simply "myfeature").
From what I can see geoserver acts according to OGC specs, but I am
guessing many people use a combination of OL/Geoserver, hence this
deviation from the specs by OL may have to be handled by Geoserver, what
do you think?
I have made a quick fix for my installation here, I just have to get it
over to the production environment. Possibly this is however a setup
issue? or already fixed in the repo (using release version here for the
customer).
cheers,
lorenz