Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-350

Empty entry handling YAML Property Source

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3-incubating
    • 0.4-incubating
    • None
    • None

    Description

      The YAML Format handles empty entries not nice.

      If I define a yaml like that:

       

       

      myYaml:
        myProperties:

       

      And now query my myYaml.myProperties -> I get a String "null". Instead of null.

      The problem is here:

      org.apache.tamaya.yaml.YAMLFormat.mapValueToString(Object)

       

      Attachments

        Activity

          People

            anatole Anatole Tresch
            alexsuter Alexander Suter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m