<div dir="ltr">Hi, do you have an error trace from the apache log for this?</div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-08 9:33 GMT+02:00 David Alda Fernandez de Lezea <span dir="ltr"><<a href="mailto:dalda@hazi.eus" target="_blank">dalda@hazi.eus</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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<br>
<br>
deleteStyles: function() {<br>
for (var i=0, len=this.deletedStyles.length; i<len; ++i) {<br>
Ext.Ajax.request({<br>
method: "DELETE",<br>
url: this.baseUrl + "/styles/" + this.deletedStyles[i] +<br>
// cannot use params for DELETE requests without jsonData<br>
"?purge=true"<br>
});<br>
}<br>
this.deletedStyles = [];<br>
}<br>
<br>
<a href="http://192.168.1.190/gs/rest/styles/bandaancha?purge=true" rel="noreferrer" target="_blank">http://192.168.1.190/gs/rest/styles/bandaancha?purge=true</a> 403 Can't delete style referenced by existing layers.<br>
<br>
This is only happening with some layers.<br>
<br>
What's the purpose of this function? Which are the supposed grants to be in the styles directory for each SLD?<br>
<br>
Any ideas?<br>
<br>
Thanks in advance.<br>
<br>
Agur bero bat,<br>
<br>
<br>
David Alda Fernández de Lezea<br>
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.<br>
dalda@hazi.eus | www.hazi.eus<br>
T 945 003 240 - M 627 923 170 - F 945 003 290<br>
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba<br>
<br>
********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER *****************************<br>
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.<br>
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.<br>
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.<br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>