|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4243 | minor | always | 10-06-10 14:13 | 11-10-10 16:44 | |
|
|
|||||
| Reporter: | domdorn | Platform: | |||
| Assigned To: | domdorn | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.11 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.13 | ||
|
|
|||||
| 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. |
||||
| Steps To Reproduce: | |||||
| 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; } |
||||
| Relationships | |||||
| Attached Files: |
|
||||
| Notes | |||||
|
|
|||||
|
|
||||