[Geoserver-users] Error updating geometry

Hi,

In the attachment a WFS-T version 1.1.0 request that does a successful update to the Tasmania_roads demo layer with Geoserver 2.7-RC1 for me. Try to find the difference why it works and why your clients fail. Use the demo request window as a client.

Request is created by a development version of Kosmo.

-Jukka Rahkonen-

emmexx wrote:

Il 02/23/2015 12:46 AM, Simone Giannecchini scrisse:

I would open a JIRA to report this problem so that we don't loose track of it.

Ok, thank you for your answer.

Yesterday I upgraded opengeo suite to 4.5, and geoserver to 2.6. Same problem. Even worse than before. :frowning:

Now I can only change attributes of features.
With version 4.1 of the suite I could add new features but not modify geometries. Now I can't add new features nor update their geometries.

Tested with qgis and Kosmo.

Bye
  maxx

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

GS_27_RC1_update_request.txt (1.94 KB)

Il 02/23/2015 10:18 AM, Rahkonen Jukka (MML) scrisse:

In the attachment a WFS-T version 1.1.0 request that does a
successful update to the Tasmania_roads demo layer with Geoserver
2.7-RC1 for me. Try to find the difference why it works and why your
clients fail. Use the demo request window as a client.

The only difference between your kosmo request and mine (apart from namespaces and server url) is in the following lines:

<gml:MultiLineString xmlns:gml="http://www.opengis.net/gml&quot; srsName="urn:x-ogc:def:crs:EPSG:4326" srsDimension="3">
<gml:lineStringMember>
<gml:LineString xmlns:gml="http://www.opengis.net/gml&quot; srsName="urn:x-ogc:def:crs:EPSG:4326" srsDimension="3">
<gml:posList srsDimension="3"> -42.92 147.36 -9999

<gml:MultiLineString srsName="EPSG:4326">
<gml:lineStringMember>
<gml:LineString srsName="EPSG:4326">
<gml:coordinates>11.472,43.311

I used the demo request tool with the same requests found in the kosmo log and I could insert a new feature and update an existing geometry.

Errata corrige: I can still add new features, I was using a wrong value for an attribute.

Can it be a misconfiguration of roles/security? I didn't change anything over there.

Thank you
   maxx

On Mon, Feb 23, 2015 at 1:36 PM, emmexx <emmexx@anonymised.com> wrote:

Can it be a misconfiguration of roles/security? I didn't change anything
over there.

If that was the case, you'd be seeing security errors in your responses
and possibly in the logs too

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------