[Cartoweb-dev] edit plugin

Pierre GIRAUD pierre.giraud at camptocamp.com
Fri Feb 16 10:47:40 EST 2007


I think I am currently facing a similar problem and also trying to find 
out how to fix it.
Do you have any peculiar auth config on the edit_poly layer ? Any reason 
why the current user doesn't get the edit_poly layer in the available 
layers ?

Pierre


Sylvain Beorchia wrote:
> Hi,
>
> I've got a problem with the Edit plugin. I works fine with the demoEdit
> project, but when i try to plug it in my own project, CW fails with an
> error in the CLientLayers.php, function isLayerVisibleAtCurrentScale().
>
> This function fails because it tries to get the layer object from a
> getLayeryName, and with the layer edit_poly, it does not work. So, maybe
> the layer is incorrect ? i don't  think so, because it's exactly the
> same like in the demo. Moreover, i changed the
> isLayerVisibleAtCurrentScale function forcing a true return. This way,
> CW does not fail, i can access the EditPluggin, the layer appears in the
> layer list, but when i try to modify it, the map is entergin in the
> "please wait" splash screen, and never stops...
>
> See what i mean ?
>
> Thanks.
> Sylvain Beorchia.
> Makina Corpus
>
> _______________________________________________
> Cartoweb-dev mailing list
> Cartoweb-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-dev
>   


-- 
_________________________________________________________
Pierre GIRAUD
Géomaticien, Analyste

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex 

Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com  



More information about the Cartoweb-dev mailing list