FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=18149&edit=1

ID: 18149
Updated by: daniel.oconnor@gmail.com
Reported By: asaf at lingnu dot com
Summary: Incorrect type check triggers other bugs
-Status: Open
+Status: Feedback
Type: Bug
Package: Structures_DataGrid
Operating System: linux
Package Version: 0.9.1dev1
PHP Version: 5.3.4
Roadmap Versions:
New Comment:

-Status: Open
+Status: Feedback
We are unable to reproduce the bug as reported.
Please provide a simple script (10 lines or less)
or a link to an external script that can be used
to reproduce the bug.

If you can provide the script, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PEAR.





Previous Comments:
------------------------------------------------------------------------

[2010-12-27 13:03:43] asaf

Not Sure this is a bug, or that fix is correct, please double check

------------------------------------------------------------------------

[2010-12-27 12:18:34] asaf

Some more details:

the file is DataGrid.php

Starting at line 820 ( for version 0.9.1dev1 (beta))

------------------------------------------------------------------------

[2010-12-27 12:14:17] asaf

Description:
------------
/* Is a renderer driver already loaded and does it exactly match
* the driver class name that corresponds to $type ? */
//FIXME: is this redundant with the $rendererType property ?
if (!isset($this->_renderer)
or !is_a($this->_renderer,
"Structures_DataGrid_Renderer_$type")) {
/* No, then load the right driver */

FIX :

replace line :
"Structures_DataGrid_Renderer_".$this->_rendererType)) {

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 26, '11 at 5:09p
activeDec 26, '11 at 5:09p
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase