diff --git a/package-lock.json b/package-lock.json index 81db282d7..63b0bfeed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gisce/react-ooui", - "version": "2.57.2", + "version": "2.57.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gisce/react-ooui", - "version": "2.57.2", + "version": "2.57.3", "dependencies": { "@ant-design/colors": "^7.2.0", "@ant-design/plots": "^1.0.9", diff --git a/package.json b/package.json index 0687121cb..f414cc12c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gisce/react-ooui", - "version": "2.57.2", + "version": "2.57.3", "engines": { "node": "20.5.0" }, diff --git a/src/views/ActionView.tsx b/src/views/ActionView.tsx index 27b8ee7b9..8d59d4db4 100644 --- a/src/views/ActionView.tsx +++ b/src/views/ActionView.tsx @@ -266,6 +266,18 @@ function ActionView(props: Props, ref: any) { showErrorDialog( `Error determining the first view to show for model ${model}.\nPlease, make sure the view ids on the fields_view_get responses are the same as the ones defined in the action`, ); + console.error( + "Error determining the first view to show for model", + JSON.stringify({ + model, + views, + initialView, + availableViews: viewDataRetrieved, + currentViewToAssign, + action_id, + action_type, + }), + ); onRemoveTab?.(tabKey); }