<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
What does your ini file contain?<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<br>
On 6/20/2011 10:57 AM, Dara Olson wrote:
<blockquote cite="mid:742910D258D94448BEE683614CDA2BCA@GISWKSTN2"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19088">
<style></style>
<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> </div>
<div><font face="Garamond"><tr><br>
<td><a
href=<a class="moz-txt-link-rfc2396E" 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]'})">"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]'})"</a>>Edit</a></td><br>
<td><a href=<a class="moz-txt-link-rfc2396E" href="javascript:if(confirm('Areyousureyouwanttodeletethis?')){GeoMOOSE.startService('delete_permit_comments',{'feature:gid':'[gid]'});}">"javascript:if(confirm('Are you sure you
want to delete
this?')){GeoMOOSE.startService('delete_permit_comments',{'feature:gid':'[gid]'});}"</a>>Delete</a></td><br>
</tr></font></div>
<div> </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: 2px solid rgb(0, 0, 0);
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: none repeat scroll 0%
0% rgb(228, 228, 228);"><b>From:</b> <a
moz-do-not-send="true" title="bfraser@geoanalytic.com"
href="mailto:bfraser@geoanalytic.com">Brent Fraser</a> </div>
<div style="font: 10pt arial;"><b>To:</b> <a
moz-do-not-send="true" title="dolson@glifwc.org"
href="mailto:dolson@glifwc.org">dolson@glifwc.org</a> </div>
<div style="font: 10pt arial;"><b>Cc:</b> <a
moz-do-not-send="true"
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 moz-do-not-send="true"
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 <a class="moz-txt-link-freetext" href="file:_">file:_</a><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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br>
>>> <a moz-do-not-send="true"
href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br>
><br>
><br>
</blockquote>
</blockquote>
</body>
</html>