[Geomoose-users] Feature Editor Problem

Dan Little danlittle at yahoo.com
Wed Apr 6 11:03:02 EDT 2011


Try removing the quotes around "url" in the escape statement.

Any chance this site is accessible from the outside?



>________________________________
>From: Gregory Roberts | Wendler <groberts at wendlergs.com>
>To: 'Dan Little' <danlittle at yahoo.com>; geomoose-users at lists.sourceforge.net
>Sent: Wednesday, April 6, 2011 9:56 AM
>Subject: Re: [Geomoose-users] Feature Editor Problem
>
>
> 
>This doesn't seem to work. I get the error
message: unterminated string literal when editing any feature with or without
an apostrophe.                                                                                                                                                      
> 
> 
>
>________________________________
> 
>From:Dan Little
[mailto:danlittle at yahoo.com] 
>Sent: Wednesday, April 06, 2011
8:16 AM
>To: Dan Little; groberts at wendlergs.com ;
geomoose-users at lists.sourceforge.net
>Subject: Re: [Geomoose-users]
Feature Editor Problem
> 
>Ugh...
I'm writing this message again because the new Yahoo mail is terrible.
> 
>The problem is not with the database.
 That is actually working perfectly and properly using variable binding.
> 
>The problem is with the identify
template.  Specifically this line:
> <a
href="javascript:GeoMOOSE.startService('modify_polygon',
{'feature:polygon_id' : '[polygon_id]','feature:wkb_geometry' :
'[wkt_geometry]', 'feature:title' : '[title]', 'feature:owner' :
'[owner]'})">Edit</a>
> 
>This modification should make things
editable, though your users may be unhappy with the "%27" displayed
when they are editing the feature's title:
> 
> <a
href="javascript:GeoMOOSE.startService('modify_polygon',
{'feature:polygon_id' : '[polygon_id]','feature:wkb_geometry' :
'[wkt_geometry]', 'feature:title' : '[title escape="url"]',
'feature:owner' : '[owner escape="url"]'})">Edit</a>
> 
>Vector
handling needs some major improvement.
> 
>>
>>________________________________
>> 
>>From:Dan Little
<danlittle at yahoo.com>
>>To: " groberts at wendlergs.com "
< groberts at wendlergs.com >;
"geomoose-users at lists.sourceforge.net"
<geomoose-users at lists.sourceforge.net>
>>Sent: Tuesday, April 5, 2011 11:26
PM
>>Subject: Re: [Geomoose-users]
Feature Editor Problem
>>I would
imagine that it's because variable binding is not happening for that request.
>> 
>>Worst case scenario: I can probably send
you a patch that escapes single quotes (apostrophes)
>> 
>>Best
case scenario: I fix it for real using PDO in 2.4.
>> 
>>>
>>>________________________________
>>> 
>>>From:Gregory Roberts | Wendler < groberts at wendlergs.com >
>>>To: geomoose-users at lists.sourceforge.net
>>>Sent: Tuesday, April 5, 2011 4:55
PM
>>>Subject: Re: [Geomoose-users]
Feature Editor Problem
>>>Hello,
>>> 
>>>We have had
an ongoing problem with the feature editor tool that occurs when a user creates
or edits a feature and inputs an apostrophe into a field. Once the feature has
been saved with an apostrophe the feature can no longer be edited which results
in us having to delete the apostrophe through the back-end in postgres. We have
already informed our users of this problem but still have this occur a few
times a week.
>>> 
>>>Does anyone
else have any experience with this or any ideas as to how to go about fixing
it? Thanks very much.
>>> 
>>>Gregory
>>> 
>>>
>>>------------------------------------------------------------------------------
>>>Xperia(TM) PLAY
>>>It's a major breakthrough. An authentic gaming
>>>smartphone on the nation's most reliable network.
>>>And it wants your games.
>>>http://p.sf.net/sfu/verizon-sfdev
>>>_______________________________________________
>>>Geomoose-users mailing list
>>>Geomoose-users at lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/geomoose-users
>>>
>>>
>>
>>------------------------------------------------------------------------------
>>Xperia(TM) PLAY
>>It's a major breakthrough. An authentic gaming
>>smartphone on the nation's most reliable network.
>>And it wants your games.
>>http://p.sf.net/sfu/verizon-sfdev
>>_______________________________________________
>>Geomoose-users mailing list
>>Geomoose-users at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/geomoose-users
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20110406/317f5301/attachment.html


More information about the Geomoose-users mailing list