Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004243 [Quercus] minor always 10-06-10 14:13 11-10-10 16:44
Reporter domdorn View Status public  
Assigned To domdorn
Priority normal Resolution fixed  
Status closed   Product Version 4.0.11
Summary 0004243: overloading __isset / __unset not working
Description the __isset overloading as defined in
http://de.php.net/manual/en/language.oop5.overloading.php [^]
is not working.

This is used in ZendFramework 1.10.8 at least in the file
/library/Zend/Controller/Action/HelperBroker.php

    public static function hasHelper($name)
    {
        $name = self::_normalizeHelperName($name);
        return isset(self::getStack()->{$name});
    }

which breaks ViewRenderer resolution.
Additional Information A temporary fix at least in that method would be this:

    public static function hasHelper($name)
    {
        $name = self::_normalizeHelperName($name);
        return self::getStack()->__get($name) !== false;
    }

Attached Files  39ku.qa [^] (577 bytes) 10-07-10 07:42
 39kv.qa [^] (1,222 bytes) 10-07-10 08:19

- Relationships

- Notes
(0004830)
domdorn
11-10-10 16:44

resolved.
 

- Issue History
Date Modified Username Field Change
10-06-10 14:13 domdorn New Issue
10-07-10 07:42 domdorn File Added: 39ku.qa
10-07-10 08:19 domdorn File Added: 39kv.qa
10-07-10 09:49 domdorn Assigned To  => domdorn
10-07-10 09:49 domdorn Status new => acknowledged
10-07-10 09:49 domdorn Summary overloading __isset not working => overloading __isset / __unset not working
11-10-10 16:44 domdorn Status acknowledged => closed
11-10-10 16:44 domdorn Note Added: 0004830
11-10-10 16:44 domdorn Resolution open => fixed
11-10-10 16:44 domdorn Fixed in Version  => 4.0.13


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker