Skip to content

Commit 6abc88a

Browse files
committed
FIX: Get right cube name for action execution
Corresponding issue intersystems-community/DeepSeeWeb#336
1 parent 8e706ab commit 6abc88a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

MDX2JSON/Utils.cls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ ClassMethod ExecuteAction(Cube As %String, Action As %String, Context As %ZEN.pr
346346
{
347347
set st = $$$OK
348348
set Cube = $$$UPPER(Cube)
349+
if $FIND(Cube, ".KPI") set Cube = $TRANSLATE(Cube, ".KPI", "") // cut off resolution ".kpi" from Cube name if there any
349350
set ActionClass = $G($$$DeepSeeMetaGLVN("cubes",Cube,"actionClass"), $G($$$DeepSeeMetaGLVN("kpis",Cube)))
350351
if (ActionClass'="") {
351352
set st = $classmethod(ActionClass,"%OnDashboardAction",Action,Context)

0 commit comments

Comments
 (0)