<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19088">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Garamond>After making the suggested edits, I can successfully
add a feature. I am unable to edit the point or delete an existing
point. If I attempt to edit the point, it gives the same prior error of
"Missing required field:" and if I try to delete an existing point it gives me
an error of, "No Feature ID specified to delete." Below is the information
contained within the HTML.</FONT></DIV>
<DIV><FONT face=Garamond></FONT> </DIV>
<DIV><FONT face=Garamond><tr><BR><td><a
href="javascript:GeoMOOSE.startService('modify_permit_comments', {'feature:gid'
: '[gid]','feature:label' : '[label]','feature:permit_number' : '[permit_number]
','feature:file_name' : '[file_name]','feature:type_of_permit' :
'[type_of_permit]', 'feature:wbic' : '[wbic]', 'feature:description' :
'[description]', 'feature:pdf_name' : '[pdf_name]', 'feature:document_link' :
'[document_link]', 'feature:georef_protocol' :
'[georef_protocol]'})">Edit</a></td><BR><td><a
href="javascript:if(confirm('Are you sure you want to delete
this?')){GeoMOOSE.startService('delete_permit_comments',{'feature:gid':'[gid]'});}">Delete</a></td><BR></tr></FONT></DIV>
<DIV><FONT face=Garamond></FONT> </DIV>
<DIV><FONT face=Garamond>I am assuming that there must be something incorrect
somewhere. Has anyone ran into this or have any additional
suggestions. Thank you in advance for your time!</FONT></DIV>
<DIV><FONT face=Garamond>Dara</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=bfraser@geoanalytic.com href="mailto:bfraser@geoanalytic.com">Brent
Fraser</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=dolson@glifwc.org
href="mailto:dolson@glifwc.org">dolson@glifwc.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=geomoose-users@lists.sourceforge.net
href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, June 16, 2011 11:03
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Geomoose-users] Feature
editor, error missing required field</DIV>
<DIV><BR></DIV>It shouldn't be required. I'll file a ticket.<BR><BR>Best
Regards,<BR>Brent Fraser<BR><BR><BR>On 6/16/2011 9:45 AM, <A
href="mailto:dolson@glifwc.org">dolson@glifwc.org</A> wrote:<BR>> It
worked! I added it to the INI file and it added successfully.<BR>>
Thank you so very much!<BR>> Dara<BR>><BR>>> 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<BR>>> in
editor.php...<BR>>><BR>>> Best Regards,<BR>>> Brent
Fraser<BR>>><BR>>><BR>>> On 6/15/2011 2:43 PM, Dara Olson
wrote:<BR>>>> Greetings.<BR>>>> I am having some problems
with the feature editor setup. When I go to<BR>>>> add a point
feature it says, "Missing required field:", but no field<BR>>>> is
listed after the error. There seems to be no errors showing up
in<BR>>>> any of the logs either. Does anyone know why I might
be getting this<BR>>>> error? Below is the setup for the
feature and editor. We are running<BR>>>> GeoMoose
2.2.<BR>>>> Any help or suggestions would be greatly
appreciated.<BR>>>> Miigwech!<BR>>>> Dara<BR>>>>
_Table:_<BR>>>> 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<BR>>>> (st_ndims(the_geom900913) =
2),<BR>>>> CONSTRAINT enforce_srid_the_geom900913
CHECK<BR>>>> (st_srid(the_geom900913) = 900913)<BR>>>>
)<BR>>>> _Sequence and register:_<BR>>>> A sequence was set
up, permits.glifwc_permit_comments_points_gid_seq<BR>>>> and an entry
in the "geometry_columns" table for field<BR>>>> "the_geom900913",
900913, POINT.<BR>>>> _Mapfile definition:_<BR>>>> 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<BR>>>>
wkt_geometry<BR>>>> FROM
permits.glifwc_permit_comment_points) AS<BR>>>>
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>>>> The layer was
successfully added to the project and displays correctly.<BR>>>>
_Layer INI file:_<BR>>>> host=localhost<BR>>>>
dbname=xxxxx<BR>>>> username=xxxxx<BR>>>>
password=xxxxx<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<BR>>>>
layerpath=glifwc_permit_comment/glifwc_permit_comment_points<BR>>>>
_Service:_<BR>>>> <service
name="add_permit_comment"><BR>>>>
<url>php/editor.php</url><BR>>>> <step type="spatial"
name="feature:the_geom900913" line="false"<BR>>>> 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>>>> /><BR>>>> <input type="user"
name="feature:file_name" title="File Name:" /><BR>>>> <input
type="select" name="feature:type_of_permit" title="Type of<BR>>>>
Permit:"><BR>>>> <option value="APM Permit">APM
Permit</option>...<BR>>>> </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<BR>>>> Document:"/><BR>>>> <input type="select"
name="feature:georef_protocol"<BR>>>> title="Georeference
Protocol:"><BR>>>> <option value="digitized by
hand">Digitized by Hand</option>...<BR>>>>
</input><BR>>>> </step><BR>>>>
</service><BR>>>><BR>>>><BR>>>>
------------------------------------------------------------------------------<BR>>>>
EditLive Enterprise is the world's most technically advanced
content<BR>>>> authoring tool. Experience the power of Track Changes,
Inline Image<BR>>>> Editing and ensure content is compliant with
Accessibility Checking.<BR>>>> <A
href="http://p.sf.net/sfu/ephox-dev2dev">http://p.sf.net/sfu/ephox-dev2dev</A><BR>>>><BR>>>><BR>>>>
_______________________________________________<BR>>>> Geomoose-users
mailing list<BR>>>> <A
href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</A><BR>>>>
<A
href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</A><BR>><BR>><BR></BLOCKQUOTE></BODY></HTML>