Steps to reproduce:
- Create a JSON structure with dots in a property name:
JSON[
{
"units.classification":
{
"String Value": "FIRST",
"DateTime Value": "2012-04-23T18:25:43.511Z"
},
"units.digits":
{
"String Value": "abc 2",
"Bool Value": false
}
},
{
"units.classification":
{
"String Value": "SECOND",
"DateTime Value": "2012-04-23T18:25:43.511Z"
},
"units.digits":
{
"String Value": "abc 2",
"Bool Value": false
}
}
]
- Apply the following filter:
[units.classification.String Value] = 'FIRST'
Current results:
The filter does not work (all records are shown). The Expression Editor also throws an exception on selecting an inner property:
Call StackSystem.NullReferenceException: Object reference not set to an instance of an object.
at DevExpress.XtraEditors.FilterControl.MenuItemPropertyClick(String propertyName)
at DevExpress.XtraEditors.FilterControl.OnPropertyEditorValidated(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnValidated(EventArgs e)
at DevExpress.XtraEditors.BaseEdit.OnValidated(EventArgs e)
at DevExpress.XtraEditors.TextEdit.OnValidated(EventArgs e)
at DevExpress.XtraEditors.BaseEdit.DoValidate()
at DevExpress.XtraEditors.FilterControl.DoEditorValidate()
at DevExpress.XtraEditors.FilterControl.<DoOperationEdtor_CloseUp>b__204_0()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
Additional information:
The Expression Binding does work: [units.classification].[String Value]