commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Grzybek (JIRA)" <>
Subject [jira] [Created] (CONFIGURATION-742) Dots in ini keys corrupts nodes structure
Date Thu, 07 Mar 2019 09:11:00 GMT
Michal Grzybek created CONFIGURATION-742:

             Summary: Dots in ini keys corrupts nodes structure
                 Key: CONFIGURATION-742
             Project: Commons Configuration
          Issue Type: Bug
          Components: Expression engine
    Affects Versions: 1.6
            Reporter: Michal Grzybek


# only key, no value on purpose {noformat}
Dots as key names are [considered as syntax error|]
but no ConfigurationException is thrown and also this property is stored in data structure
as a node with key="..." and value=null.

This leads to problems:


// returns Collection with one Node: "..."=null

// returns List size=1 with "..." inside



// return false


The result of inconsistent data structure is e.g. NPE when writing to file.


This message was sent by Atlassian JIRA

View raw message