[Cartoweb-users] Views management and change of mapfile

Alexandre Saunier alexandre.saunier at camptocamp.com
Thu Mar 1 05:57:33 EST 2007


Hello,
it seems there is a small bug in CartoWeb that makes it crash when 
calling a layer that does not exist or no more exists. Consequently 
views calling old layers will create troubles.
I will open a bugreport and submit a patch quite shortly.
AS

Oliver Christen wrote:
> Hi Frequens
>  
> easy solution: redo the views
> hard solution: redo the views
>  
> a view is mostly a copy of a cartoweb session at one certain time.
> you may try to edit it, but at your risk and perils. It was not designed 
> for that, sorry.
> the only way is to redo a new view and delete the old one.
>  
> Regards
> Oliver
>  
> 
>     ----- Original Message -----
>     *From:* frequens <mailto:frequens at gmail.com>
>     *To:* cartoweb-users at lists.maptools.org
>     <mailto:cartoweb-users at lists.maptools.org>
>     *Sent:* Thursday, March 01, 2007 11:13 AM
>     *Subject:* [Cartoweb-users] Views management and change of mapfile
> 
>     I have recently run into some trouble (ending with 500 Http Code),
>     when a Cartoweb project map file has changed (a layer added & a
>     layer omitted).
>     Even after --clean, the views do not load anymore and even switching
>     on some of the other layers separately, produces an error.
>     Xml view files are of course still referencing the omitted layers.
> 
>     Any idea how to handle this situation,
> 
>     regards,
> 
>     frequens
> 
>     ------------------------------------------------------------------------
> 
>     _______________________________________________
>     Cartoweb-users mailing list
>     Cartoweb-users at lists.maptools.org
>     http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users

-- 
Alexandre Saunier
Camptocamp SA
PSE A
CH-1015 Lausanne

+41 21 619 10 19 (direct)
+41 21 619 10 10 (centrale)
+41 21 619 10 00 (fax)


More information about the Cartoweb-users mailing list