Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.6

Bug #2784 HTML_CSS adds logger to composite
Submitted: 2004-11-18 12:50 UTC
From: markus at emedia-solutions-wolf dot de Assigned: farell
Status: Closed Package: HTML_Progress
PHP Version: 4.3.9 OS: All
Roadmaps: (Not assigned)    
Subscription  


 [2004-11-18 12:50 UTC] markus at emedia-solutions-wolf dot de
Description: ------------ The HTML_CSS constructor (used in getStyle of the Progress_UI) without parameters creates at least a default logger and adds it to the logchain. This is a display logger which may be most disturbing if one already uses a singleton composite logger in his application... Some more restrictive setting for the constructor (like a nulllogger setup) would be preferable.

Comments

 [2004-11-18 22:23 UTC] farell
Hi Markus, Well to solve this problem, i need to fix HTML_CSS package too. And even if Klaus gave me the karma to do it while he is away, i won't do anything right now. If you ask me why, i will answer you that i'm thinking on a better approach currently in progress: probably a common solution as pear_errorlayer. Klaus is agree to apply the same error handler for HTML_CSS like in HTML_Progress, but with my recent proposal, i think i can do better. Thanks for your comment and suggestion; i'll keep it in my mind. Regards Laurent
 [2004-11-27 10:04 UTC] farell
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. This bug should be fixed with the new version of HTML_CSS (0.4.0) available only in CVS repository, which will use now the standard PEAR_Error object. PEAR::Log and PEAR_ErrorStack dependencies were removed.