Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a DrawFeature tool.

create= new OpenLayers.Control.DrawFeature(myVecLayer,

I have a store.

st = new{
    layer: myVecLayer,
    fields: [
        {name: 'id', type: 'int'},
        {name: 'mydata', type: 'String'},
     proxy: new{
        protocol: new OpenLayers.Protocol.WFS({
            version: "1.0.0",
            url: "http://localhost:8080/geoserver/wfs",
            featureType: "filedata_temp",
            featureNS: "",
    autoLoad: true

I start drawing

for(var i=0;i<create_cont.length;i++){

After I put attributes to feature and save result


But it's not saved.


<wfs:Transaction xmlns:wfs="" service="WFS" version="1.1.0"  xsi:schemaLocation="" xmlns:xsi="">
  <feature:filedata_temp xmlns:feature="">
    <gml:Polygon xmlns:gml="" srsName="EPSG:900913">
       <gml:posList>6756846.305626001 7731074.3336396 6756578.776027001 7730338.6272425 6757696.667564999 7730118.8707862 6758441.928590998 7730978.7873543 6756846.305626001 7731074.3336396</gml:posList>


<ows:ExceptionReport version="1.0.0" xsi:schemaLocation=" http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd" xmlns:xsi="" xmlns:ows="">
 <ows:Exception exceptionCode="InvalidParameterValue">
  <ows:ExceptionText>Error performing insert: Error inserting features</ows:ExceptionText>

What am I doing wrong?

share|improve this question
It was a PostgresSql bug. I have a two tables whis triggers. If i insert data in first table trigger insert data in second too. But if trigger do this second table's trigger insert data in first table etc. So all what i write in code works fine. – Kliver Max Aug 3 '12 at 7:02
If that is the solution to this problem could you post it as an answer, see… – Rob Quincey Aug 4 '12 at 21:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.