TypeError: e.retrievals is undefined with latest atoti/AP
fabiencelier opened this issue · comments
Trying to use https://activeviam.github.io/atoti-query-analyser/ with the latest directquery on the "Import from Server" I get the following error:
Uncaught (in promise) TypeError: e.retrievals is undefined n selection.js:37 n selection.js:36 Z selection.js:48 e App.js:41 l runtime.js:45 _invoke runtime.js:274 t runtime.js:97 Babel 6 App.js:15 submitQuery Input.js:52 importFromServer Input.js:40 React 12 unstable_runWithPriority scheduler.production.min.js:19 React 18 113 index.js:7 i (index):1 97 main.242db114.chunk.js:1 i (index):1 t (index):1 r (index):1 main.242db114.chunk.js:1 selection.js:37:47 Babel 6 App.js:15 submitQuery Input.js:52 importFromServer Input.js:40 React 12 bind_applyFunctionN self-hosted:1376 Gt self-hosted:1339 unstable_runWithPriority scheduler.production.min.js:19 React 3 bind_applyFunctionN self-hosted:1376 Qt self-hosted:1339 React 15 113 index.js:7 i (index):1 97 main.242db114.chunk.js:1 i (index):1 t (index):1 r (index):1 main.242db114.chunk.js:1
This is with the latest ActivePivot 5.11 and latest atoti.
I do see the query to the server and the server answer so I think the parsing fails.
Here is the JSON answer:
This is probably caused by https://github.com/activeviam/activepivot/pull/3798 which I think has renamed retrievals
to aggregateRetrievals
3 months ago.