| Anonymous | Login | Signup for a new account | 10-30-2025 23:50 PDT | 
| Main | My View | View Issues | Change Log | Docs | 
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
| Status | closed | Product Version | 3.1.2 | ||||||
| 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. | ||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|  | |||||||||
| Mantis 1.0.0rc3[^]
	Copyright © 2000 - 2005 Mantis Group
	34 total queries executed. 29 unique queries executed. |