Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0 Final
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      I probably noticed a bug, when I use dynamic beans and iteratePointers() and
      then the asPath() method on each pointer.

      Assuming the toplevel (dynamic) bean has 3 attributes att1, att1, att3 and att3
      is a nested bean whit attribute called 'nested'.

      The following works:

      context.getValue("/att3/nested");

      Whereas this throws an exception:

      Iterator it = context.iteratePointers("/att3");
      Pointer ptr = it.next();
      context.getValue(ptr.asPath()+"/nested");

      I provided a testcase.

        Activity

        Markus Menner created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 9912 12340246
        Henri Yandell made changes -
        Component/s JXPath [ 12311120 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Affects Version/s 1.0 Beta 2 [ 12311650 ]
        Project Commons [ 12310458 ] Commons JXPath [ 12310480 ]
        Key COM-95 JXPATH-24
        Henri Yandell made changes -
        Affects Version/s 1.0 Beta 2 [ 12311818 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Markus Menner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development