SmartClient Version: SNAPSHOT_v13.1d_2024-09-04/Enterprise Deployment (built 2024-09-04)
Hello, both issues are fixed for me, thank you very much.
Announcement
Collapse
No announcement yet.
X
-
Hi Claudio. Thanks for the report. We have committed a fix for the implicitCriteria not picking up the valuePath changes available in builds starting Sep 4. However, you can also use a full AdvancedCriteria (with outer operator and criteria properties) to make it work without a new build.
With this code we did not reproduce the too much recursion issue. Are you still experiencing it? If so, can you make it happen with a modified showcase sample change as well?
Leave a comment:
-
But now I also noticed that if I use implicitCriteria, when the value referred by the valuePath changes, it doesn't trigger a fetch.
Test case (modified fetchOperationFS sample):
Code:isc.DynamicForm.create({ ID: "testForm", fields: [ {name: "aField", valueMap: {"Roll": "Roll", "Ea": "Ea"}} ] }) isc.ListGrid.create({ ID: "dsListGrid", top: 50, implicitCriteria: { fieldName: "units", operator: "equals", valuePath: "testForm.values.aField" }, width: "100%", height: "100%", autoFetchData: true, dataSource: "supplyItem" });
Leave a comment:
-
Note that if I use implicitCriteria instead of initialCriteria, then it works (with autoFetchData) :confused:
Leave a comment:
-
InternalError: too much recursion
SmartClient Version: SNAPSHOT_v13.1d_2024-08-31/Enterprise Deployment (built 2024-08-31)
Hello, I've got this error when switching on a tab which contains a grid with autoFetchData and an initialCriteria which uses a valuePath.
I'm having an hard time trying to debug this, have you got any hint on what to look for?
In another tab I've got a grid which is similar, just another dataSource/operationId, and doesn't have got this problem.
If I remove the autoFetchData and make the fetch with the same criteria, it works
Code:23:26:01.817:XRP0:WARN:Log:InternalError: too much recursion Stack from error.stack: _getObjectID() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:32962:13 getPriority() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:32984:33 isEnabledFor() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:33103:41 logIsEnabledFor() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:31292:25 logIsDebugEnabled() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:31308:59 _dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35137:27 dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35103:10 _observeData/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:34585:35 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 invalidateCache() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:69572:39 setCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:66168:14 updateDataModel() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127754:40 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127567:33 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:77582:27 _filter() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127543:10 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 _filter() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:58817:17 fetchData() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:126140:10 _observeRuleContextChanged/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78483:22 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 fireRuleContextChanged() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109584:49 _endProvideRuleContextTransaction() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109449:18 _provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109426:14 provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109294:10 _provideCriteriaToRuleContext() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78409:18 _dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35558:29 dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35103:10 _observeData/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:34585:35 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 invalidateCache() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:69572:39 setCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:66168:14 updateDataModel() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127754:40 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127567:33 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:77582:27 _filter() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127543:10 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 _filter() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:58817:17 fetchData() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:126140:10 _observeRuleContextChanged/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78483:22 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 fireRuleContextChanged() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109584:49 _endProvideRuleContextTransaction() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109449:18 _provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109426:14 provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109294:10 _provideCriteriaToRuleContext() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78409:18 _dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35558:29 dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35103:10 _observeData/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:34585:35 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 invalidateCache() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:69572:39 setCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:66168:14 updateDataModel() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127754:40 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127567:33 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:77582:27 _filter() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127543:10 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 _filter() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:58817:17 fetchData() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:126140:10 _observeRuleContextChanged/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78483:22 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 fireRuleContextChanged() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109584:49 _endProvideRuleContextTransaction() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109449:18 _provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109426:14 provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109294:10 _provideCriteriaToRuleContext() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78409:18 _dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35558:29 dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35103:10 _observeData/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:34585:35 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 invalidateCache() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:69572:39 setCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:66168:14 updateDataModel() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127754:40 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127567:33 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:77582:27 _filter() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127543:10 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 _filter() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:58817:17 fetchData() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:126140:10 _observeRuleContextChanged/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78483:22 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 fireRuleContextChanged() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109584:49 _endProvideRuleContextTransaction() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109449:18 _provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109426:14 provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109294:10 _provideCriteriaToRuleContext() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78409:18 _dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35558:29 dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35103:10 _observeData/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:34585:35 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 invalidateCache() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:69572:39 setCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:66168:14 updateDataModel() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127754:40 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127567:33 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:77582:27 _filter() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127543:10 invokeSuper() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7423:44 Super() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:7240:21 _filter() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:58817:17 fetchData() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:126140:10 _observeRuleContextChanged/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78483:22 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 fireRuleContextChanged() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109584:49 _endProvideRuleContextTransaction() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109449:18 _provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109426:14 provideRuleContext() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:109294:10 _provideCriteriaToRuleContext() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:78409:18 _dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35558:29 dataChanged() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:35103:10 _observeData/<() @ isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20240902.js:34585:35 observation() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:8602:28 invalidateCache() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:69572:39 setCriteria() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=13.1-d20240902.js:66168:14 updateDataModel() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127754:40 filterWithCriteria() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20240902.js:127567:33
Tags: None
Leave a comment: