The problem is that those styles are in a different workspace (cite) and
form what you say your user doesn't have permission to see that workspace
so you can't use them to style your layer.
Ian
2017-09-08 9:09 GMT+01:00 Oscar Diago Alonso <[email protected]>:
> Good morning!
>
> I have a layer that has 4 different styles:
>
>
> - *cite:CP.CadastralParcel.Default*
> - *cite:CP.CadastralParcel.LabelOnReferencePoint*
> - *cite:CP.CadastralParcel.BoundariesOnly*
> - *cite:CP.CadastralParcel.ReferencePointOnly*
>
>
> The layer is in the workspace “inspire”, but I can’t assign the same
> workspace to the styles (my user only has permissions to admin “inspire”
> workspace, so the combobox for the workspace in the SLD form is disabled).
>
> If I add the WMS service to QGis I can see the the layer in the default
> style. But, if I pick the other styles, I get this error:
>
> <ServiceException code="*StyleNotDefined*">*No such style:
> cite:CP.CadastralParcel.BoundariesOnly*</ServiceException>
>
> Any idea why this is happening? I don’t have access to the logs, sorry.
>
> I’m using GeoServer 2.11.1
>
> Best regards!
>
> *Óscar Diago Alonso *
> *Desarrollador GIS** / **GIS Developer*
>
> Tel: +34 945131372 <+34%20945%2013%2013%2072> e-mail:
> *mailto:[email protected]* <[email protected]>
> Calle Pintor Clemente Arraiz, 3 Bajo 01008 Vitoria-Gasteiz
> *Geograma*. Expertos en GeoInformación
>
>
> *www.geograma.com* <http://www.geograma.com/>
>
> De acuerdo con la LO 15/1999, de Protección de Datos, y la Ley 34/2002
> (LSSICE), se informa que su dirección de correo electrónico figura en
> nuestros archivos, al objeto de mantener el contacto y remitirle
> publicidad e información empresarial sobre las actividades de Geograma,
> S.L. Si no desea recibir publicidad e información empresarial sobre las
> actividades de Geograma SL le rogamos que nos lo comunique a la siguiente
> dirección de correo electrónico: *[email protected]*
> <[email protected]> Podrá ejercer los derechos de acceso,
> cancelación, rectificación y oposición reconocidos por la LOPD mediante
> solicitud escrita y firmada a Geograma, S.L. a la siguiente dirección C/
> Castillo de Eskibel, 2 Bajo de Vitoria (C.P. 01007), adjuntando en todo
> caso copia de su DNI. En caso de modificación de sus datos deberá
> notificarlo en la misma dirección, declinando toda responsabilidad para la
> empresa en caso de no hacerlo. Si no es Ud. el destinatario y ha recibido
> este mensaje por error, agradecemos que lo comunique inmediatamente al
> remitente sin difundir, almacenar o copiar su contenido.
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
> userlist-guidelines.html
>
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Ian Turton
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users