GeoTools
  1. GeoTools
  2. GEOT-2318

LayerFeatureConstraints not parsed for NamedLayer

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.2
    • Fix Version/s: 2.5.4
    • Component/s: main
    • Labels:
      None
    • Testcase included:
      yes

      Description

      Seems like implementation was written and used for UserLayer at some point but NamedLayer is not using it... though I guess it should?

      Attaching patch enabling NamedLayers parsing to not throw UnsupportedOperationException and instead parse the LayerFeatureConstraints tag using existing implementation.

      Testcase already exists, all that needs to be done for it to be caught is to add a LayerFeatureConstraints to the namedLayers.sld test-data file - attaching that too.

      1. 32494.patch
        3 kB
        Björn Harrtell

        Activity

        Hide
        Björn Harrtell added a comment -
        New patch with both fix and testcase included based on 2.5.x branch revision 32494
        Show
        Björn Harrtell added a comment - New patch with both fix and testcase included based on 2.5.x branch revision 32494
        Hide
        Andrea Aime added a comment -
        Fixed on 2.5.x and trunk. Thanks for the patch
        Show
        Andrea Aime added a comment - Fixed on 2.5.x and trunk. Thanks for the patch

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Björn Harrtell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: