Last modified: 2011-10-10 03:55:41 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 T33529, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31529 - Catchable fatal error: Argument 1 passed to SMWDIWikiPage::newFromTitle() must be an instance of Title, null given
Catchable fatal error: Argument 1 passed to SMWDIWikiPage::newFromTitle() mus...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized critical (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-08 14:50 UTC by Niklas Laxström
Modified: 2011-10-10 03:55 UTC (History)
1 user (show)

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


Attachments

Description Niklas Laxström 2011-10-08 14:50:34 UTC
Catchable fatal error: Argument 1 passed to SMWDIWikiPage::newFromTitle() must be an instance of Title, null given, called in 
                        /www/sandwiki/extensions/SemanticForms/includes/SF_FormLinker.php on line 64 and defined in /www/sandwiki/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_WikiPage.php on 
                        line 136

Happens when running unittests.
Comment 1 Yaron Koren 2011-10-10 03:55:41 UTC
Ah - I assume this is because $wgTitle isn't set when running a unit test. I just checked in what I think is a fix.

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


Navigation
Links