| Anonymous | Login | Signup for a new account | 12-18-2025 08:49 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001963 | [Quercus] | minor | always | 08-22-07 14:43 | 09-04-07 11:09 | ||||
| Reporter | rjc | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.1.3 | Product Version | 3.1.2 | ||||
| Product Build | |||||||||
| Summary | 0001963: return new self(...) fails | ||||||||
| Description |
MediaWiki's ability to upload images and files is broken by this. In includes/filerepo/LocalFile.php, there are lots of static methods with code like "return new self(...)" these return a parse error in Resin 3.1.2 Trying to change this to "return new LocalFile(..)" fails with stack overflow/infinte loop. This appears to be a common PHP idiom for singletons/factories. |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed. 29 unique queries executed. |