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

Pothys - MitrahSoft 3 May 2019 at 15:23

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

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

Zac Spitzer 2 May 2019 at 14:32

fixed as part of this PR

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 2 May 2019 at 14:05
Updated 5 July 2019 at 09:35
Resolved 7 June 2019 at 07:02