Issue 23 in georest: Delete feature operation for GeoRest could not work

1 view
Skip to first unread message

geo...@googlecode.com

unread,
Nov 5, 2010, 3:33:57 AM11/5/10
to georest...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 23 by Mars.Woo: Delete feature operation for GeoRest could not
work
http://code.google.com/p/georest/issues/detail?id=23

Steps:
1. load Samples data
2. configure data source file for Rest
<Resource uripart="Parcels">
<Source type="MapGuide">

<FeatureSource>Library://Samples/Sheboygan/Data/Parcels.FeatureSource</FeatureSource>
<FeatureClass>SHP_Schema:Parcels</FeatureClass>
</Source>
<Representation renderer="JSON" pattern=".json"/>
<Representation renderer="XML" pattern=".xml">
<Method name="PUT" />
<Method name="GET" />
<Method name="DELETE" />
<Method name="POST" />
</Representation>
3. Run Python code to send delete result (code attached)


result:
result code "200 update done", but the feature was not deleted.


expected:
the feature Autogenerated_SDF_ID=1 should be deleted.
----------------
External ID: Clarify 1353510

Reply all
Reply to author
Forward
0 new messages