Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.10
-
None
Description
When query the nested bean declaration, the child name may contain the special character. So when call "HierarchicalConfiguration.configurationsAt()", the node name should be escaped by the expression engine first as the following
getConfiguration().getExpressionEngine().nodeKey(node,"")
Call sequence to the problem code:
getNestedBeanDeclarations() ->nested.put(child.getName(), createBeanDeclaration(child)); ->List<HierarchicalConfiguration> list = getConfiguration().configurationsAt(node.getName());