Uploaded image for project: 'HiveMind'
  1. HiveMind
  2. HIVEMIND-209

HiveMind can't inject a numeric value in an Integer property of a bean.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.1
    • None
    • framework
    • None

    Description

      The declaration bellow throw the exception "No property editor for java.lang.Integer"

      <service-point id="Alert" interface="IAlert">
      <invoke-factory>
      <construct class="impl.Alert">
      <set property="radius" value="10"/>
      </construct>
      </invoke-factory>
      </service-point>

      James had a look at this and told me it happens "because it uses the java.beans.PropertyEditorManager
      class to find an editor for that type (and it's not registered by default)".

      Attachments

        1. hivemind-209.patch
          3 kB
          Jochen Zimmermann

        Activity

          People

            Unassigned Unassigned
            sdecleire Stéphane Decleire
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: