Details

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

      Operating System: All
      Platform: All

    • Bugzilla Id:
      9912

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: