<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>FDOPostGIS 3.4L Check In of New generated PointFeature causes ErrorMessage</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">Dear List,</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">BEGIN;</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">CREATE TABLE &quot;blocktest3&quot; (gid serial PRIMARY KEY,</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;blockname&quot; varchar(255),</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;layer&quot; varchar(255),</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;rotation&quot; numeric,</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;s&quot; varchar(255),</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">&quot;u&quot; varchar(255));</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">SELECT AddGeometryColumn('','blocktest3','the_geom','-1','POINT',2);</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">INSERT INTO &quot;blocktest3&quot; (&quot;blockname&quot;,&quot;layer&quot;,&quot;rotation&quot;,&quot;s&quot;,&quot;u&quot;,the_geom) VALUES ('GN1','GN','0.000000000000000','789',NULL,'0101000000FDA08A2C9FB3E3C0B9770762A8FA0E41');</FONT></SPAN></P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">INSERT INTO &quot;blocktest3&quot; (&quot;blockname&quot;,&quot;layer&quot;,&quot;rotation&quot;,&quot;s&quot;,&quot;u&quot;,the_geom) VALUES ('GN2','GN','0.000000000000000','2345','6','0101000000E54B15C275B3E3C053379F6D81F90E41');</FONT></SPAN></P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">END;</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">New Feature with</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">Generate Point-blocktest3</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">open datatable and fill in the new record the values for blockname = 'GN2', layer = 'GN', rotation = 0, s = '3464', u = '6'</FONT></SPAN></P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">try to check and you will get this warning</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">-FdoPostGIS:blocktest3(),Rev# &lt;0&gt;</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">-Object could not be inserted</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">-1=FDO-Command could not be executed</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">-2=invalide PropertyValueName</FONT></SPAN>

<BR><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">Some Objects could not be saved</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">the fdo driver log shows</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">INSERT INTO &quot;public&quot;.&quot;blocktest3&quot; (the_geom,blockname,layer,rotation,s,u) VALUES ('0101000000B79D4205DEB1E3C089BE0EB360FA0E41','GN2','GN',0,'3464','6')</FONT></SPAN></P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">the insert in postgis is ok</FONT></SPAN>
</P>

<P><SPAN LANG="de-at"><FONT SIZE=2 FACE="Arial">Karl</FONT></SPAN>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>

</BODY>
</HTML>