GML quicklink shown for raster layers
-------------------------------------
Key: GEOS-3029
URL: http://jira.codehaus.org/browse/GEOS-3029
Project: GeoServer
Issue Type: Bug
Affects Versions: 2.0-alpha2
Environment: Ubuntu Jaunty
Reporter: Tim Coulter
Assignee: Andrea Aime
For raster layers in Geoserver's layer preview, a GML quick link is shown even though raster layers cannot be output to GML.
Steps to reproduce:
1) Install and run a fresh install of Geoserver.
2) Click the Layer Preview link within the left hand navigation.
3) In the Layer Preview list, search for "sfdem" and hit enter. You should only be shown one row.
4) Now click the "GML" link under the "Common Formats" heading. Notice you are given the Javascript error below.
Javascript Error:
syntax error
http://localhost:8081/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.demo.MapPreviewPage
Line 1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira