From dfc67b62a6c6b57671c42f6edccf79ba1de984f9 Mon Sep 17 00:00:00 2001 From: wangkx Date: Wed, 27 Sep 2023 10:39:05 -0400 Subject: [PATCH] HPCC-30360 Allow empty kind attribute when listing Groups Signed-off-by: wangkx --- esp/smc/SMCLib/TpWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp/smc/SMCLib/TpWrapper.cpp b/esp/smc/SMCLib/TpWrapper.cpp index 819a5f1e4a3..b4c054a6714 100644 --- a/esp/smc/SMCLib/TpWrapper.cpp +++ b/esp/smc/SMCLib/TpWrapper.cpp @@ -1217,7 +1217,7 @@ void CTpWrapper::getGroupList(double espVersion, const char* kindReq, IArrayOfquery(); const char* kind = group.queryProp("@kind"); - if (kindReq && *kindReq && !strieq(kindReq, kind)) + if (!isEmptyString(kindReq) && !strisame(kindReq, kind)) continue; IEspTpGroup* pGroup = createTpGroup("","");