percentage of total sql execution time is always 0%

Description

with the modern template, the percentage is always 0% for sql execution times as percentage of all sql execution times

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/context/admin/debug/Modern.cfc#L1285

this is the code

changing it to just this shows values, i think it might be problem with the unitFormat function

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/context/admin/debug/Modern.cfc#L1982

Environment

None

Activity

Show:
Zac Spitzer
May 2, 2019, 2:32 PM

fixed as part of this PR

Pothys - MitrahSoft
May 3, 2019, 3:23 PM

I've added fix for this issue, this PR also fixes the LDEV-2262.

Pull request: https://github.com/lucee/Lucee/pull/676

Fixed

Assignee

Michael Offner

Reporter

Zac Spitzer

Priority

New

Labels

Fix versions

Affects versions

Configure