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

       Web browser: ---
             Bug #: 34083
           Summary: New FileBackend code breaks WebStore extension
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
               URL: http://spiele.j-crew.de/images/thumb/e/e6/9s_pal.pdf/p
                    age1-1248px-9s_pal.pdf.jpg
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Images and files
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


It looks like the new FileBackend code broke the WebStore extension:

A FileRepo object is not set for this File.

Backtrace:

#0 /srv/www/mediawiki/code/includes/filerepo/file/File.php(343):
File->assertRepoDefined()
#1
/srv/www/mediawiki/code/includes/filerepo/file/UnregisteredLocalFile.php(122):
File->getLocalRefPath()
#2 /srv/www/mediawiki/extensions/PdfHandler/PdfHandler_body.php(165):
UnregisteredLocalFile->getMetadata()
#3 /srv/www/mediawiki/extensions/PdfHandler/PdfHandler_body.php(213):
PdfHandler->getMetaArray(Object(UnregisteredLocalFile))
#4
/srv/www/mediawiki/code/includes/filerepo/file/UnregisteredLocalFile.php(87):
PdfHandler->getPageDimensions(Object(UnregisteredLocalFile), '1')
#5
/srv/www/mediawiki/code/includes/filerepo/file/UnregisteredLocalFile.php(93):
UnregisteredLocalFile->cachePageDimensions('1')
#6 /srv/www/mediawiki/extensions/WebStore/inplace-scaler.php(83):
UnregisteredLocalFile->getWidth('1')
#7 /srv/www/mediawiki/extensions/WebStore/inplace-scaler.php(134):
InplaceScaler->execute()
#8 {main}

This is from
http://spiele.j-crew.de/images/thumb/e/e6/9s_pal.pdf/page1-1248px-9s_pal.pdf.jpg.
The Wiki runs current trunk (r110351), the WebStore and PdfHandler extension
are also current.

It worked before upgrading to the new FileBackend code (last tested with
r99290).

I think this should be fixed before releasing 1.19.

-- 
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