GeoServer
  1. GeoServer
  2. GEOS-2609

Geometry sort / regionating , class cast exception when attribute is not a geometry

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.7.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      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.

        Activity

        Hide
        Arne Kepp added a comment -

        (Sorry, incomplete summary)

        Show
        Arne Kepp added a comment - (Sorry, incomplete summary)

          People

          • Assignee:
            David Winslow
            Reporter:
            Arne Kepp
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: