File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -309,9 +309,14 @@ Returns OK if namespace both exists and contains MDX2JSON package.<br>
309309 new $Namespace
310310 set $Namespace = Namespace
311311
312- set exists = ##class(%Dictionary.CompiledClass).%ExistsId("MDX2JSON.Utils")
312+ set class = "MDX2JSON.Utils"
313+
314+ set exists = ##class(%Dictionary.CompiledClass).%ExistsId(class)
313315 return:(exists=$$$NO) $$$ERROR($$$GeneralError, "MDX2JSON package is not mapped to " _ Namespace)
314316
317+ // If the current namespace holds unmapped MDX2JSON, include it regardless of dashboards existence
318+ return:(##class(%RoutineMgr).IsMapped(class _ ".cls") = $$$NO) $$$OK
319+
315320 // Strictly speaking this can be a false-positive check
316321 set exists = ($data(@##class(MDX2JSON.DashboardRS).#global)>0)
317322 return:(exists=$$$NO) $$$ERROR($$$GeneralError, "No dashboards exist in " _ Namespace)
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ Classes with support methods for testing MDX2JSON</Description>
88
99<Parameter name =" LastCommit" >
1010<Type >%String</Type >
11- <Default >1be674a6a470c42bf148cae9b91a7b1c1b8973c0 </Default >
11+ <Default >ece429006a0a3be90ce3b11f90b2add9896d2d15 </Default >
1212</Parameter >
1313
1414<Parameter name =" LastCommitTS" >
1515<Type >%TimeStamp</Type >
16- <Default >2017-08-10 17:27:32.707 </Default >
16+ <Default >2018-02-05 16:29:46.938 </Default >
1717</Parameter >
1818
1919<Method name =" ProjectLength" >
You can’t perform that action at this time.
0 commit comments