Last modified: 2012-12-12 12:56:04 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 T34338, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32338 - Problems testing mediawiki 1.18.1 - error getUserPermissionsErrors() on a non-object
Problems testing mediawiki 1.18.1 - error getUserPermissionsErrors() on a non...
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: s7eph4n
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-10 08:20 UTC by Gregor Hagedorn
Modified: 2012-12-12 12:56 UTC (History)
4 users (show)

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


Attachments

Description Gregor Hagedorn 2011-11-10 08:20:43 UTC
Having trouble finding a working combination of Semantic Forms with the present state of 1.18.1beta.

Background: The semantic extensions in the future 1.18-release will all be not working, since they don't receive fixes. Instead, users need to find the right tagged version for each semantic extension.

For Semantic Forms, the latest tagged is http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticForms/REL_2_2_1  - this however, contains a serious bug 30844 making it incompatible with 1.18. The bug is fixed in trunk, but at the moment, the newest trunk version is broken for the 1.18 release:

Semantic Forms (Version 2.3-alpha)	(r102570)

works ok in normal SF use, but when using "Run query" the error is

Fatal error: Call to a member function getUserPermissionsErrors() on a non-object in /usr/share/mediawiki/ext-trunk/SemanticForms/includes/SF_FormPrinter.php on line 387

See (at the moment, we will try to find a working revision as soon as possible):
http://wiki.pestinfo.org/wiki/Special:RunQuery/NewArticle2
http://wiki.pestinfo.org/wiki/Special:RunQuery/QueryPestRecent
http://wiki.pestinfo.org/wiki/Special:RunQuery/QueryPestCountry
Comment 1 Gregor Hagedorn 2011-11-10 11:09:26 UTC
We have reverted the Semantic Forms now to trunk r98122 which works with 1.18.1 - the examples above thus no longer show the error.
Comment 2 Yaron Koren 2011-11-10 14:59:16 UTC
Thanks for letting me know about that - that was due to a change in the SF SVN code two days ago; I believe I just fixed it.
Comment 3 David H. Mason 2012-02-14 02:43:05 UTC
Seeing this with MediaWiki 1.18.1/SemanticBundle-20120124 trying to use #autoedit:

Fatal error: Call to a member function getUserPermissionsErrors() on a non-object in .../extensions/SemanticForms/includes/SF_FormPrinter.php on line 399
Comment 4 David H. Mason 2012-02-14 03:59:20 UTC
Seems like it only happens when used with http://www.mediawiki.org/wiki/Extension:UserFunctions 's #nickname function. Not sure what the problem is, but probably not directly MW/SF so closing.
Comment 5 David H. Mason 2012-02-14 04:05:36 UTC
ok, reopening.

* {{#autoedit:form=Sample review|target=Special:MyPage/{{PAGENAME}}/review|link text=True Positive ยป|query string=Sample review[Review results]=True Positive&Sample review[For]={{FULLPAGENAME}}&Sample review[Sample set]={{{For}}} }}

yields 

Fatal error: Call to a member function setResponseCode() on a non-object in .../extensions/SemanticForms/includes/SF_AutoeditAPI.php on line 63
Comment 6 Yaron Koren 2012-02-14 05:16:43 UTC
This probably should have been a new bug report, but in any case, I'm reassigning this to f.trott.
Comment 7 Gregor Hagedorn 2012-12-12 12:56:04 UTC
From my standpoint this is closed, and thanks for the fix!

Please reopen if necessary.

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


Navigation
Links