-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The repro shows that if the meta field of a TS collection is an empty string, the user can create an index on the empty string. This can cause unexpected cases with query code, leading to a tassert as demonstrated.
I'm not sure which issue is the root cause:
- Empty field names allowed as the metafield
- Empty field names allowed in the index
- The query tassert may make the valid assumption that field names in indexes are nonempty
My guess is the first one but it would be good to verify.