Invenzzia »

Open Power Template 2.x family

PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!

Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
Tasklist

FS#146 - OPT tries to register a warning table in the debug console several times.

Attached to Project: Open Power Template
Opened by Zyx (Zyx) - Wednesday, 23 December 2009, 00:39 GMT-7
Last edited by Zyx (Zyx) - Wednesday, 23 December 2009, 00:44 GMT-7
Task Type Bug Report
Category Base class
Status Closed
Assigned To Zyx (Zyx)
Operating System OS-independent
Severity Low
Priority Low
Reported Version 2.0.3
Due in Version 2.0.4
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If a warning is reported to the debug console, OPT registers on-the-fly a warning table in it. However, it makes it every time the warning is thrown. While the code works, if we have only one warning, two warnings cause an OPL exception, because the same debug console table cannot be registered several times. The bug lies in Opt_Support class which does not mark that it has already registered the warning table in the static variable.
This task depends upon

Closed by  Zyx (Zyx)
Wednesday, 23 December 2009, 00:44 GMT-7
Reason for closing:  Fixed
Additional comments about closing:  Fixed in rev. 272

Loading...