213 empty lists repesented as empty arrays (lib/field, lib/rest_api_helper, instance_operation_default)

This commit is contained in:
2026-03-12 14:59:15 +03:00
parent 5f995381df
commit 589b06bcc4
5 changed files with 25 additions and 9 deletions
+2 -2
View File
@@ -57,7 +57,7 @@
//variables.framework.docs={};
variables.framework.docs.APIName="svc-api";
variables.framework.docs.APIVersion="0.212"; /*$ git config --global --unset user.password*/
variables.framework.docs.APIVersion="0.213"; /*$ git config --global --unset user.password*/
variables.framework.globalHeaders = structNew();
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
@@ -427,7 +427,7 @@
<cfargument name="contragentUid"/>
<cfif !isValid('guid',arguments.usrUid)>
<cfthrow message="Invalid user uuid" detail="uuid=(#arguments.usrUid#) is not a valid UUID"/>
<cfthrow message="Invalid user uuid" detail="uuid=(#arguments.usrUid#) is not a valid UUID"/><!--- тут спорно, можно было бы и 400 и 500, но исключения из этой функции не дифференцированы по типам --->
</cfif>
<cfif !isValid('guid',arguments.contragentUid)>
<cfthrow message="Invalid contragent uuid" detail="uuid=(#arguments.contragentUid#) is not a valid UUID"/>