Hi,
I was making some interactive tests against GeoServer 2.2.x before making the
release and found something that is either a bug in the code, or in my understanding.
When I get to a service page, say WMS, the workspace dropdown is always empty,
it seems I cannot configure the WMS service for a particular layer.
The culprit seems to be ServiceFilteredWorkspacesModel, which shaves off all
workspaces that do not already have a specific service configuration attached.
However… how am I going to add the configuration for the first time?
If it’s a bug, it’s not new, the relevant code has not been changed since GSIP 66
landed, so I’m not going to stop the release for it
(the rationale for a release on the stable series is “no known regressions since
the last release, plug some improvements”, as far as I remember, “no known bugs”
is of course un-achievable with the amount of developers we have).
Cheers
Andrea
(in case anyone is wondering, http://it.wikipedia.org/wiki/PEBKAC)
–
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
Yeah, the workflow here isn’t very intuitive but the way add a workspace specific service config is from the workspace. There is a checkbox to add a custom service, and configure it.
So the drop down on the service page doesn’t really make sense. It should be a read only text box but i believe it was used because it already existed.
Anyways, we talked about a better workflow for workspace specific services/etc… to be a global drop down somewhere that would change the context. I didn’t look into it too much but at first look looks non trivial.
···
On Tue, Jan 22, 2013 at 12:57 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:
Hi,
I was making some interactive tests against GeoServer 2.2.x before making the
release and found something that is either a bug in the code, or in my understanding.
When I get to a service page, say WMS, the workspace dropdown is always empty,
it seems I cannot configure the WMS service for a particular layer.
The culprit seems to be ServiceFilteredWorkspacesModel, which shaves off all
workspaces that do not already have a specific service configuration attached.
However… how am I going to add the configuration for the first time?
If it’s a bug, it’s not new, the relevant code has not been changed since GSIP 66
landed, so I’m not going to stop the release for it
(the rationale for a release on the stable series is “no known regressions since
the last release, plug some improvements”, as far as I remember, “no known bugs”
is of course un-achievable with the amount of developers we have).
Cheers
Andrea
(in case anyone is wondering, http://it.wikipedia.org/wiki/PEBKAC)
–
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only – learn more at:
http://p.sf.net/sfu/learnnow-d2d
Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
On Tue, Jan 22, 2013 at 4:15 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:
Yeah, the workflow here isn’t very intuitive but the way add a workspace specific service config is from the workspace. There is a checkbox to add a custom service, and configure it.
Ah, I see.
So the drop down on the service page doesn’t really make sense. It should be a read only text box but i believe it was used because it already existed.
Or, it could be modified so that it does not filter, and choosing a worskpace that does not have a custom service would result in creating such configuration
(by copying the global one).
Anyways, we talked about a better workflow for workspace specific services/etc… to be a global drop down somewhere that would change the context. I didn’t look into it too much but at first look looks non trivial.
Right right, I remember now
Cheers
Andrea
–
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it