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

INIConfiguration getSections does not include global section

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: Documentation, Format
    • Labels:
      None

      Description

      The set returned from INIConfiguration.getSections() does not include the global section. As an example, with the following file

      default = ok
      dotted.var1 = default

      []
      dotted.var1 = empty
      var2 = empty

      [section1]
      dotted.var1 = foo
      var2 = doodle

      calling INIConfiguration.getSections() produces a Set with elements "" and "section1". I expected a Set with elements null,"", and "section1"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chonton Charles Honton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: