Bug #38216
Static method calls in reflected classes refer to _Original class
| Status: | Needs Feedback | Start date: | 2012-06-20 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| PHP Version: | Complexity: | |||
| Has patch: | No | FLOW3 version affected: | Git master | |
| Votes: | 0 |
Description
Static method calls in reflected classes refers to the original class rather than the proxy. This gives issues in cases where "self" is used. fx. in Singleton style create methods.
Related issues
| related to TYPO3.Flow - Bug #31002: Generated __sleep method handles static properties as mem... | New | 2011-10-17 |
History
Updated by Adrian Föder 11 months ago
- Status changed from New to Needs Feedback
Christian, in these cases you have to use the "static" keyword, i.e. static::doSomething().
Updated by Karsten Dambekalns 5 months ago
- FLOW3 version affected changed from Git 1.2 (master) to Git master