[Geoserver-devel] [jira] Created: (GEOS-2609) Geometry sort / regionating

Geometry sort / regionating
----------------------------

                 Key: GEOS-2609
                 URL: http://jira.codehaus.org/browse/GEOS-2609
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.7.2
            Reporter: Arne Kepp
            Assignee: David Winslow
            Priority: Minor
             Fix For: 1.7.3

If you select regionating strategy: geometry

But then select a regionating attribute that is not a geometry, the form will let you do so, and the code fails with a class cast exception in
getSortAttributeValue(SimpleFeature f) , line 74, in GeometryRegionatinStrategy.

Can we have the UI fail if the attribute is not a geometry, the same way it fails if you do not have a bounding box set ?

Feel free to assign back to me if you have more important stuff.

--
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