Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-396

In HierarchicalConfiguration$Node visits the ConfigurationKey points to the parent path in visitAfterChildren call

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6
    • 1.7
    • None
    • None

    Description

      When visiting a child the key is aggregated to have the child node name, and a call to visitBeforeChildren and grandChildren's visits are made.

      However, before calling visitAfterChildren, the resetting of the key to that of it's parent's, seems inconsistent.

      Last lines in visit(NodeVisitor visitor, ConfigurationKey key)

      if (key != null)

      { key.setLength(length); }

      visitor.visitAfterChildren(this, key);

      Attachments

        Activity

          People

            oheger Oliver Heger
            vasanthaman Vasanth Amana
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified