From abd4487226b34db803b01603f4e79a18df9d91ef Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 17 Oct 2025 08:11:42 +0300 Subject: [PATCH] 152 getListFromState instance_operation_default *** fix exception handlng --- v1/Application.cfc | 2 +- v1/resources/instance_operation_default.cfc | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index ad73d5c..afe6aa6 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -51,7 +51,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="svc-api"; - variables.framework.docs.APIVersion="0.151"; /*$ git config --global --unset user.password*/ + variables.framework.docs.APIVersion="0.152"; /*$ git config --global --unset user.password*/ variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; diff --git a/v1/resources/instance_operation_default.cfc b/v1/resources/instance_operation_default.cfc index a0d67cd..267de3f 100644 --- a/v1/resources/instance_operation_default.cfc +++ b/v1/resources/instance_operation_default.cfc @@ -45,9 +45,11 @@ - + + - select instance_data->'params' as params + select instance_data->'params' as params, + instance_data::text as instance_data from instance_state where instance_uid= order by version desc @@ -55,6 +57,7 @@ + @@ -91,6 +94,7 @@ p.config::text null as nested_ref_data + p.state_path ( select 1 from svc_operation_cfs_param m join svc_operation om on (m.svc_operation_id=om.svc_operation_id) @@ -130,6 +134,17 @@ }/> + + +