Uploaded image for project: 'Geomajas Runtime Configuration Plugin'
  1. Geomajas Runtime Configuration Plugin
  2. RTC-2

setFormula on FeatureStyleInfo doesn`t work correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-M1
    • Environment:

      Geomajas stable release 1.12.8,
      Admin-plugin latest version: 10757 revision from the 21st of June

    • CLA:
      I have read and agree with the Geomajas CLA for the attachments

      Description

      The nabble topic: http://geomajas-developers-list.117808.n3.nabble.com/FeatureStyleInfo-styleId-is-null-td4025405.html

      While trying to colorize shapefile with points or polygons, we found that FeatureStyleInfo.setFormula(...) method doesn`t work correctly.
      If we comment it - the layer is shown on the map(but not colorized, of course).
      It seems that admin plugin works correctly, the errors are in spring while creating the bean.
      The code(and formula also) works ok if we configure it via xml.

      The full code at pastie (the same is in attachment)
      The stacktrace at pastie (the same is in attachment)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jandm Jan De Moerloose
                Reporter:
                dementiev Dmitry Dementiev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: