[Geoserver-devel] [jira] Created: (GEOS-2542) org.geoserver.wfs.WFSTransactionException: topp:<TYPENAME> is read-only

org.geoserver.wfs.WFSTransactionException: topp:<TYPENAME> is read-only
-----------------------------------------------------------------------

                 Key: GEOS-2542
                 URL: http://jira.codehaus.org/browse/GEOS-2542
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.7.1
         Environment: Win XP
            Reporter: webb
            Assignee: Andrea Aime
         Attachments: EDIT_WARD.xml

Hi,

Thanks for your response to my query for GEOS: 2541. I was able to proceed but then got struck. It is giving me the error the layer is read_Only. I am also attaching the DescribeFeatureType xml as before.

I am sure I am defining my indexes properly in the table:

select sdo_index_name, sdo_index_owner, sdo_layer_gtype, sdo_root_mbr from user_sdo_index_metadata where sdo_index_name='IDX_EDITWARD_GEOM'

IDX_EDITWARD_GEOM ORMS MULTIPOLYGON MDSYS.SDO_GEOMETRY(2003,null,null,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(534583.028923,4800227.837578,552019.43065,4817244.301605))

Additionally, I am using the default security settings:
*.*.r=*
*.*.w=*

Request:

"<wfs:Transaction service=\"WFS\" version=\"1.0.0\" xmlns:ogc=\"http://www.opengis.net/ogc\\&quot; xmlns:wfs=\"http://www.opengis.net/wfs\\&quot; xmlns:gml=\"http://www.opengis.net/gml\\&quot; xmlns:xls=\"http://niem.gov/niem/external/ogc-openls/1.1.0/dhs-gmo/1.0.0\\&quot; xmlns:topp=\"http://www.openplans.org/topp\\&quot;&gt;
<wfs:Update typeName=\"EDIT_WARD\">
<wfs:Property><wfs:Name>GEOM</wfs:Name><wfs:Value>
<MultiPolygon srsName=\"http://www.opengis.net/gml/srs/epsg.xml#26917\\&quot; xmlns=\"gml\"><PolygonMember><Polygon><outerBoundaryIs><LinearRing><coordinates decimal=\".\" cs=\",\" ts=\" \">533525,4809587,0 533961,4809866,0 534910,4810123,0 535334,4810279,0 535681,4810491,0 535960,4810648,0 536228,4810782,0 536295,4810871,0 536641,4811027,0 536920,4811184,0 537333,4811373,0 537579,4811608,0 537858,4811831,0 538070,4811898,0 538327,4811932,0 538751,4811753,0 539042,4811407,0 539243,4811496,0 539365,4811474,0 539511,4811284,0 540248,4811061,0 540694,4811217,0 540839,4811519,0 541018,4811675,0 541230,4811854,0 537958,4813651,0 537166,4814042,0 536775,4813808,0 536418,4813618,0 536183,4813528,0 535323,4812903,0 535323,4812747,0 534687,4812512,0 534765,4812088,0 532487,4811139,0 533525,4809587,0</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon></PolygonMember></MultiPolygon>
</wfs:Value>
</wfs:Property>
<Filter xmlns=\"ogc\">
<PropertyIsEqualTo>
<PropertyName>topp:WARDID</PropertyName><Literal>26</Literal></PropertyIsEqualTo>
</Filter>
</wfs:Update>
</wfs:Transaction>"

Response:

"<wfs:Transaction service=\"WFS\" version=\"1.0.0\" xmlns:ogc=\"http://www.opengis.net/ogc\\&quot; xmlns:wfs=\"http://www.opengis.net/wfs\\&quot; xmlns:gml=\"http://www.opengis.net/gml\\&quot; xmlns:xls=\"http://niem.gov/niem/external/ogc-openls/1.1.0/dhs-gmo/1.0.0\\&quot; xmlns:topp=\"http://www.openplans.org/topp\\&quot;&gt;&lt;wfs:Update typeName=\"EDIT_WARD\"><wfs:Property><wfs:Name>GEOM</wfs:Name><wfs:Value><MultiPolygon srsName=\"http://www.opengis.net/gml/srs/epsg\.xml\#26917\\&quot; xmlns=\"gml\"><PolygonMember><Polygon><outerBoundaryIs><LinearRing><coordinates decimal=\".\" cs=\",\" ts=\" \">533525,4809587,0 533961,4809866,0 534910,4810123,0 535334,4810279,0 535681,4810491,0 535960,4810648,0 536228,4810782,0 536295,4810871,0 536641,4811027,0 536920,4811184,0 537333,4811373,0 537579,4811608,0 537858,4811831,0 538070,4811898,0 538327,4811932,0 538751,4811753,0 539042,4811407,0 539243,4811496,0 539365,4811474,0 539511,4811284,0 540248,4811061,0 540694,4811217,0 540839,4811519,0 541018,4811675,0 541230,4811854,0 537958,4813651,0 537166,4814042,0 536775,4813808,0 536418,4813618,0 536183,4813528,0 535323,4812903,0 535323,4812747,0 534687,4812512,0 534765,4812088,0 532487,4811139,0 533525,4809587,0</coordinates></LinearRing></outerBoundaryIs></Polygon></PolygonMember></MultiPolygon></wfs:Value></wfs:Property><Filter xmlns=\"ogc\"><PropertyIsEqualTo><PropertyName>topp:WARDID</PropertyName><Literal>26</Literal></PropertyIsEqualTo></Filter></wfs:Update></wfs:Transaction>"

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira