Uploaded image for project: 'Commons JXPath'
  1. Commons JXPath
  2. JXPATH-39

DynamicPropertyHandler and Collections bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.0 Final
    • None
    • None
    • Operating System: other
      Platform: All

    • 9336

    Description

      I possibly noticed a bug concerning dynamic property beans containing collections.

      Consider a bean, which's properties are handled thru a DynamicPropertyHandler.

      When a certain property is a (indexed) collection,
      context.iterate("/<property>") should (so far as I understood) iterate over all
      elements of the collection.
      Instead the Iterator iterates only over the first element.

      The same thing without dynamic properties works of course.

      You reproduce this behaviour by using a Map to store the attributes.

      TX
      Markus

      Attachments

        Activity

          People

            Unassigned Unassigned
            mm@teraspect.de Markus Menner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: