<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hmm. You could try adding <br>
<br>
required_for_create=permit_number<br>
required_for_update=permit_number<br>
<br>
to your Layer.ini file... I can't see anything obvious in your
files or in editor.php...<br>
<font face="Garamond"></font>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<br>
On 6/15/2011 2:43 PM, Dara Olson wrote:
<blockquote cite="mid:8A2304631A254C939C4E78B25548EA9A@GISWKSTN2"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19046">
<style></style>
<div><font face="Garamond">Greetings.</font></div>
<div><font face="Garamond">I am having some problems with the
feature editor setup. When I go to add a point feature it
says, "Missing required field:", but no field is listed after
the error. There seems to be no errors showing up in any of
the logs either. Does anyone know why I might be getting this
error? Below is the setup for the feature and editor. We are
running GeoMoose 2.2.</font></div>
<div> </div>
<div>
<div><font face="Garamond">Any help or suggestions would be
greatly appreciated.</font></div>
<div><font face="Garamond">Miigwech!</font></div>
<div><font face="Garamond">Dara</font></div>
<div> </div>
</div>
<div><font face="Garamond"><u>Table:</u></font></div>
<div><font face="Garamond">CREATE TABLE
permits.glifwc_permit_comments_points<br>
(<br>
gid serial NOT NULL,<br>
file_name character varying,<br>
description character varying,<br>
georef_protocol character varying,<br>
pdf_name character varying,<br>
document_link character varying,<br>
permit_number character varying,<br>
the_geom900913 geometry,<br>
date_lm date,<br>
wbic character varying,<br>
type_of_permit character varying,<br>
CONSTRAINT glifwc_prior_acoe_comments_pkey PRIMARY KEY
(gid),<br>
CONSTRAINT enforce_dims_the_geom900913 CHECK
(st_ndims(the_geom900913) = 2),<br>
CONSTRAINT enforce_srid_the_geom900913 CHECK
(st_srid(the_geom900913) = 900913)</font></div>
<div><font face="Garamond">)</font></div>
<div> </div>
<div><font face="Garamond"><u>Sequence and register:</u></font></div>
<div><font face="Garamond">A sequence was set up, p</font><font
face="Garamond">ermits.glifwc_permit_comments_points_gid_seq
and an entry in the "geometry_columns" table for field
"the_geom900913", 900913, POINT.</font></div>
<div> </div>
<div><font face="Garamond"><u>Mapfile definition:</u></font></div>
<div><font face="Garamond">LAYER # GLIFWC Permit Comments<br>
NAME "glifwc_permit_comment_points"<br>
TYPE POINT<br>
STATUS ON<br>
CONNECTIONTYPE postgis<br>
CONNECTION "host=localhost dbname=xxxxx user=xxxxx
password=xxxxx"<br>
PROCESSING "CLOSE_CONNECTION=DEFER"<br>
DATA "the_geom900913 FROM (SELECT *,
ASTEXT(the_geom900913) AS wkt_geometry <br>
FROM permits.glifwc_permit_comment_points) AS
glifwc_permit_comment_points using unique gid using
srid=900913"<br>
PROJECTION<br>
"init=epsg:900913"<br>
END<br>
TOLERANCE 6 <br>
CLASS<br>
NAME "GLIFWC Permit Comments"<br>
SYMBOL "..\..\icons\comments.gif"<br>
TEMPLATE "identify.html"<br>
END<br>
METADATA<br>
"identify_record" "identify.html"<br>
END<br>
END # GLIFWC Permit Comments<br>
</font></div>
<div><font face="Garamond">The layer was successfully added to the
project and displays correctly.</font></div>
<div> </div>
<div><font face="Garamond"><u>Layer INI file:</u></font></div>
<div><font face="Garamond">host=localhost<br>
dbname=xxxxx</font></div>
<div><font face="Garamond">username=xxxxx</font></div>
<div><font face="Garamond">password=xxxxx</font><font
face="Garamond"><br>
tablename=permits.glifwc_permit_comment_points<br>
geometry_column=the_geom900913<br>
primary_key_column=gid<br>
primary_key_sequence=permits.glifwc_permit_comment_points_gid_seq<br>
srid=900913</font></div>
<div><font face="Garamond">layerpath=glifwc_permit_comment/glifwc_permit_comment_points<br>
</font></div>
<div><font face="Garamond"><u>Service:</u></font></div>
<div><font face="Garamond"><service
name="add_permit_comment"><br>
<url>php/editor.php</url><br>
<step type="spatial" name="feature:the_geom900913"
line="false" polygon="false" point="true" default="point"><br>
</step><br>
<step type="input"><br>
<input type="hidden" name="op"
value="create"/><br>
<input type="hidden" name="table"
value="glifwc_permit_comment_points"/><br>
<input type="user"
name="feature:permit_number" title="Permit Number:" /><br>
<input type="user" name="feature:file_name"
title="File Name:" /><br>
<input type="select"
name="feature:type_of_permit" title="Type of Permit:"><br>
<option value="APM Permit">APM
Permit</option>...</font></div>
<div><font face="Garamond"> </input> <br>
<input type="user" name="feature:wbic"
title="WBIC if applicable:"/><br>
<input type="user"
name="feature:description" title="Description:"/><br>
<input type="user" name="feature:pdf_name"
title="PDF Name:"/><br>
<input type="user"
name="feature:document_link" title="Link to Document:"/><br>
<input type="select"
name="feature:georef_protocol" title="Georeference
Protocol:"><br>
<option value="digitized by
hand">Digitized by Hand</option>...</font></div>
<div><font face="Garamond"> </input><br>
</step><br>
</service></font></div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/ephox-dev2dev">http://p.sf.net/sfu/ephox-dev2dev</a></pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Geomoose-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a>
</pre>
</blockquote>
</body>
</html>