You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getExecCountersByExecStatus() in tlTestPlanMetrics.class.php always returned null due to a type mismatch in the guard condition, causing every test plan to show zero metrics on the Metrics Dashboard.
Symptom
Both the modernized and legacy Metrics Dashboard showed Active TCs=0 and Progress=0% for all test plans.
Plans without platforms showed all zeros, but plans WITH builds/executions were also affected.
Root Cause
The guard at lib/functions/tlTestPlanMetrics.class.php:1056 used is_array($builds) but $builds is a stdClass object (not an array), so the check was always false, short-circuiting the condition and always returning null.