Issues

ZF-4436: Firebug profiler table breaks when sending query times as float

Issue Type: Bug Created: 2008-10-01T02:55:30.000+0000 Last Updated: 2008-10-01T04:25:42.000+0000 Status: Resolved Fix version(s): - 1.6.2 (13/Oct/08)

Reporter: Christoph Dorn (cadorn) Assignee: Christoph Dorn (cadorn) Tags: - Zend_Db_Profiler

Related issues: Attachments:

Description

Zend_Db_Profiler_Firebug. Query times are passed to firebug as float without quoting which results as 4 cols table JSON in headers. Eg.:

[0,00011,"SET CHARACTER SET utf8",null] ^ ^

result is broken (shifted) table in firebug. eg:

Time | Event | Parameters | [null] | 0 | 11 | SET CHARACTER SET utf8 | [null] |

instead of expected:

Time | Event | Parameters | 0,00011 | SET CHARACTER SET utf8 | [null] |

The problem is only evident when using locales that use commas in float values.

Proposed workaround is to cast query times to string.

Comments

Posted by Christoph Dorn (cadorn) on 2008-10-01T03:02:52.000+0000

See ZF-4437 for proper solution.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts