Item11475: Mongo ignores form names when matching fields.
Current State: New
Released In: n/a
Target Release: n/a
I just noticed that the current trunk breaks many of my
queries. When searching for a particular form field by full name (e.g., "FormName.FieldName = 'value'"), mongo appears to ignore the form name, and just search for any matching form field (e.g., "FieldName = 'value'"). If, like me, you re-use common field names across data forms (Status, DueDate, etc.), then mongo searches return tons of false positives.
I can work around this by appending " AND form.name = 'FormName'" to search criteria, but this is definitely not optimal.
- 25 Jan 2012