-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 73.4
-
Fix Version/s: 73.12
-
Component/s: Page Providers
-
Epic Link:
-
Tags:
-
Sprint:NOS 10.1.6, NOS 10.2.1, NOS 10.2.2, NOS 10.2.3
-
Story Points:3
The default path generated by studio is incorrect
example: to define an aggregate on tag labels, the path generated by studio is tags/0/label with schema facetedTag. This returns an empty bucket at runtime and results in an warning message
2018-01-03 19:17:35,363 WARN [http-nio-127.0.0.1-8080-exec-20] [org.nuxeo.elasticsearch.io.marshallers.json.AggregateJsonWriter] Could not resolve field nxtag:tags.0.label for aggregate facetedTag_tags_0_label_agg
The correct path is tags/label