[GeoNode-users] Error creating style again

Simone Dalmasso simone.dalmasso at gmail.com
Fri Apr 8 06:08:49 PDT 2016


Hi, do you have an error trace from the apache log for this?

2016-04-08 9:33 GMT+02:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:

> Hi,
>
> I'm now getting an error when trying to create a new style from the
> GeoExplorer view. I'm getting a 403 forbidden error at the following lines
>
> deleteStyles: function() {
>         for (var i=0, len=this.deletedStyles.length; i<len; ++i) {
>             Ext.Ajax.request({
>                 method: "DELETE",
>                 url: this.baseUrl + "/styles/" + this.deletedStyles[i] +
>                     // cannot use params for DELETE requests without
> jsonData
>                     "?purge=true"
>             });
>         }
>         this.deletedStyles = [];
>     }
>
> http://192.168.1.190/gs/rest/styles/bandaancha?purge=true 403 Can't
> delete style referenced by existing layers.
>
> This is only happening with some layers.
>
> What's the purpose of this function? Which are the supposed grants to be
> in the styles directory for each SLD?
>
> Any ideas?
>
> Thanks in advance.
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL
> *******************   DISCLAIMER   *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160408/5c92e6a1/attachment.html>


More information about the geonode-users mailing list