Last modified: 2012-02-08 23:09:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35846, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33846 - File errors shown at Special:MovePage and Special:Upload are displayed wrongly
File errors shown at Special:MovePage and Special:Upload are displayed wrongly
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: Future release
Assigned To: Aaron Schulz
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-20 23:24 UTC by Aaron Schulz
Modified: 2012-02-08 23:09 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aaron Schulz 2012-01-20 23:24:08 UTC
Any file operation error at Special:MovePage give "permission errors" which are wrongly formatted.

Example:
"You do not have permission to move this page, for the following reason:

<swift-local-backend-pmtpa> "

Likewise, at Special:Upload I get things like:

"Internal error
Jump to: navigation, search

Error storing file in 'C:\wamp\tmp\phpE1C0.tmp': backend-fail-connect; swift-local-backend-pmtpa"
Comment 1 Ian Baker 2012-01-30 23:57:21 UTC
The second case seems to be an issue around line 215 of includes/upload/UploadStash.php where the message isn't being expanded.  I'm hesitant to make any changes until I have the first case figured out, though.

In the first case, it seems the errors array being passed back to Title::getUserPermissionsErrorsInternal() is incorrect.  "swift-local-backend-pmtpa" appears to be the name of the filestore, and not a message.
Comment 2 Rob Lanphier 2012-02-03 19:37:39 UTC
After talking with Aaron and Mark, I'm bumping down the priority.  This is an error formatting problem rather than a new error.
Comment 3 Aaron Schulz 2012-02-03 21:43:38 UTC
Fixed sp:MovePage in r110687.
Comment 4 Ian Baker 2012-02-08 23:09:42 UTC
Fixed for UploadStash in r110979

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links