OpenLayers Layer Preview broken from dropdown list
--------------------------------------------------
Key: GEOS-3027
URL: http://jira.codehaus.org/browse/GEOS-3027
Project: GeoServer
Issue Type: Bug
Environment: Ubuntu Jaunty
Reporter: Tim Coulter
Assignee: Andrea Aime
When trying to preview a layer in OpenLayers from the format dropdown box, Geoserver returns an error.
Steps to reproduce:
1) Install and run a fresh install of Geoserver.
2) Click on the Layer Preview page.
3) In the dropdown box next to the topp:states layer, select OpenLayers under the WMS heading. Notice Geoserver returns the error below.
Discussion:
The OpenLayers quick link next to the topp:states layer seems to work correctly. I would expect the same behavior from the dropdown version.
Error:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://localhost:8081/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" > <ServiceException code="InvalidFormat">
There is no support for creating maps in text/html format
</ServiceException></ServiceExceptionReport>
--
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