https://bugzilla.wikimedia.org/show_bug.cgi?id=29408

       Web browser: ---
             Bug #: 29408
           Summary: Key 'something.' is not in a proper format
           Product: MediaWiki
           Version: 1.17.0rc1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Uploading
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Since updating to 1.17rc1 today, file uploads of types for which there is not a
particular mime-type (in my case, ".dem" files, which are demo files from
Valve's Source Engine games). Image uploads work fine.

Additionally, attempting to move already-uploaded .dem files, without changing
the .dem extension, cause the error "The new file extension does not match its
type" to appear (and the file doesn't move).

Output:

key 'fw9re1ay7wwdqf7p4c4eiyupmxwdezn.' is not in a proper format

Backtrace:
#0 /home/pwiki/www/w/includes/upload/UploadBase.php(634):
UploadStash->stashFile('/tmp/phpNsK1a1', Array, NULL)
#1 /home/pwiki/www/w/includes/upload/UploadBase.php(646):
UploadBase->stashSessionFile(NULL)
#2 /home/pwiki/www/w/includes/specials/SpecialUpload.php(367):
UploadBase->stashSession()
#3 /home/pwiki/www/w/includes/specials/SpecialUpload.php(461):
SpecialUpload->showUploadWarning(Array)
#4 /home/pwiki/www/w/includes/specials/SpecialUpload.php(192):
SpecialUpload->processUpload()
#5 /home/pwiki/www/w/includes/SpecialPage.php(578):
SpecialUpload->execute(NULL)
#6 /home/pwiki/www/w/includes/Wiki.php(251):
SpecialPage::executePath(Object(Title))
#7 /home/pwiki/www/w/includes/Wiki.php(63):
MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage),
Object(WebRequest))
#8 /home/pwiki/www/w/index.php(114):
MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage),
Object(User), Object(WebRequest))
#9 {main}

Attached is the file that I am attempting to upload.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to