[Geoserver-users] Oracle / WFS-T question

Hello,
Geoserver 1.6.3, gt2-oracle-spatial-2.4.2.jar. (Thanks for everyone's
help in sorting out the version mismatches...)

WFS-T operations generally work as expected, except when we try to
insert a feature with no geometry.
    <wfs:Insert xmlns:wfs="http://www.opengis.net/wfs&quot;&gt;
        <STATES xmlns="http://www.opengis.net/wfs&quot;&gt;
            <STATE_NAME xmlns="">Zulu</STATE_NAME>
            <STATE xmlns="">ZZ</STATE>
            <REGION xmlns=""></REGION>
            <MI_STYLE xmlns=""></MI_STYLE>
        </STATES>
    </wfs:Insert>
    <wfs:TransactionResult>
        <wfs:Status>
            <wfs:FAILED/>
        </wfs:Status>
        <wfs:Message>Error performing insert</wfs:Message>
    </wfs:TransactionResult>

Does anyone know if this is expected, or if our TransactionRequest is incorrect?
TIA.

You should be able to insert a featue with no geometry, so its probably a bug. Can you include the stack trace from the logs, that will help us diagnose the problem. Thanks.

-Justin

CB wrote:

Hello,
Geoserver 1.6.3, gt2-oracle-spatial-2.4.2.jar. (Thanks for everyone's
help in sorting out the version mismatches...)

WFS-T operations generally work as expected, except when we try to
insert a feature with no geometry.
    <wfs:Insert xmlns:wfs="http://www.opengis.net/wfs&quot;&gt;
        <STATES xmlns="http://www.opengis.net/wfs&quot;&gt;
            <STATE_NAME xmlns="">Zulu</STATE_NAME>
            <STATE xmlns="">ZZ</STATE>
            <REGION xmlns=""></REGION>
            <MI_STYLE xmlns=""></MI_STYLE>
        </STATES>
    </wfs:Insert>
    <wfs:TransactionResult>
        <wfs:Status>
            <wfs:FAILED/>
        </wfs:Status>
        <wfs:Message>Error performing insert</wfs:Message>
    </wfs:TransactionResult>

Does anyone know if this is expected, or if our TransactionRequest is incorrect?
TIA.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,4811e187263141431913854!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Attached is what I found on the geoserver console. Strange that the
result appears before the request...
Thanks for looking at this.
CB

On Fri, Apr 25, 2008 at 11:05 AM, Justin Deoliveira
<jdeolive@anonymised.com> wrote:

You should be able to insert a featue with no geometry, so its probably a
bug. Can you include the stack trace from the logs, that will help us
diagnose the problem. Thanks.

-Justin

CB wrote:

>
>
>
> Hello,
> Geoserver 1.6.3, gt2-oracle-spatial-2.4.2.jar. (Thanks for everyone's
> help in sorting out the version mismatches...)
>
> WFS-T operations generally work as expected, except when we try to
> insert a feature with no geometry.
> <wfs:Insert xmlns:wfs="http://www.opengis.net/wfs&quot;&gt;
> <STATES xmlns="http://www.opengis.net/wfs&quot;&gt;
> <STATE_NAME xmlns="">Zulu</STATE_NAME>
> <STATE xmlns="">ZZ</STATE>
> <REGION xmlns=""></REGION>
> <MI_STYLE xmlns=""></MI_STYLE>
> </STATES>
> </wfs:Insert>
> <wfs:TransactionResult>
> <wfs:Status>
> <wfs:FAILED/>
> </wfs:Status>
> <wfs:Message>Error performing insert</wfs:Message>
> </wfs:TransactionResult>
>
> Does anyone know if this is expected, or if our TransactionRequest is
incorrect?
> TIA.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't
miss this year's exciting event. There's still time to save $100. Use
priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> !DSPAM:4007,4811e187263141431913854!
>
>

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

console.txt (8.58 KB)

Yup, definitely looks like a bug to me.

Andrea: Do you know if there is already an issue open on this one?

CB wrote:

Attached is what I found on the geoserver console. Strange that the
result appears before the request...
Thanks for looking at this.
CB

On Fri, Apr 25, 2008 at 11:05 AM, Justin Deoliveira
<jdeolive@anonymised.com> wrote:

You should be able to insert a featue with no geometry, so its probably a
bug. Can you include the stack trace from the logs, that will help us
diagnose the problem. Thanks.

-Justin

CB wrote:

Hello,
Geoserver 1.6.3, gt2-oracle-spatial-2.4.2.jar. (Thanks for everyone's
help in sorting out the version mismatches...)

WFS-T operations generally work as expected, except when we try to
insert a feature with no geometry.
   <wfs:Insert xmlns:wfs="http://www.opengis.net/wfs&quot;&gt;
       <STATES xmlns="http://www.opengis.net/wfs&quot;&gt;
           <STATE_NAME xmlns="">Zulu</STATE_NAME>
           <STATE xmlns="">ZZ</STATE>
           <REGION xmlns=""></REGION>
           <MI_STYLE xmlns=""></MI_STYLE>
       </STATES>
   </wfs:Insert>
   <wfs:TransactionResult>
       <wfs:Status>
           <wfs:FAILED/>
       </wfs:Status>
       <wfs:Message>Error performing insert</wfs:Message>
   </wfs:TransactionResult>

Does anyone know if this is expected, or if our TransactionRequest is

incorrect?

TIA.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't

miss this year's exciting event. There's still time to save $100. Use
priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

!DSPAM:4007,4815c7e924113327367457!

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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

!DSPAM:4007,4815c7e924113327367457!

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

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,4815c7e924113327367457!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Justin Deoliveira ha scritto:

Yup, definitely looks like a bug to me.

Andrea: Do you know if there is already an issue open on this one?

I can't find any. CB, can you open a jira issue at jira.codehaus.org
attaching sample data in form of an sql script and the requests
needed to reproduce the error?
Cheers
Andrea