[Featureserver] Bug : fid=0

Christopher Schmidt crschmidt at metacarta.com
Tue Dec 16 10:26:26 EST 2008


On Tue, Dec 16, 2008 at 09:50:32AM -0500, Yves Moisan wrote:
> 
> > A patch would be great; I don't really have a great setup for this at
> > the moment, so something you can test is best. Thanks.
> 
> I'm not 100 % sure, but my CRUD tests work.  I had some fear that my
> solution would not take into account other valid values for "False" like
> "None" (since I explicitly require the False object AFAIK) but I guess
> since we're only passing in integer values anyways it works. 

Actually, the reason it works is because get_id_from_path_info will only
return either an int() or False -- the "None" case is handled within
that function for you.

> Patch
> included.

Applied in SVN. Thanks!

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Featureserver mailing list