Last modified: 2014-01-03 17:38:46 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 T59831, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57831 - Serialization of 'Closure' is not allowed
Serialization of 'Closure' is not allowed
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-02 10:02 UTC by Sergey Vladimirov
Modified: 2014-01-03 17:38 UTC (History)
5 users (show)

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


Attachments

Description Sergey Vladimirov 2013-12-02 10:02:00 UTC
On very specified page edition (only the one) the following exception "hides" another MWException:

[89112a6d] [no req] Exception from line 447 of /var/www/html/site/extensions/SemanticForms/includes/SF_FormPrinter.php: Serialization of 'Closure' is not allowed
Backtrace:
#0 /var/www/html/site/extensions/SemanticForms/includes/SF_FormPrinter.php(447): serialize(Parser)
#1 [internal function]: SFFormPrinter->formHTML(string, boolean, boolean, integer, string, string, NULL)
#2 /var/www/html/site/includes/StubObject.php(99): call_user_func_array(array, array)
#3 /var/www/html/site/includes/StubObject.php(119): StubObject->_call(string, array)
#4 /var/www/html/site/extensions/SemanticForms/includes/SF_AutoeditAPI.php(769): StubObject->__call(string, array)
#5 /var/www/html/site/extensions/SemanticForms/includes/SF_AutoeditAPI.php(769): StubObject->formHTML(string, boolean, boolean, integer, string, string, NULL)
#6 /var/www/html/site/extensions/SemanticForms/includes/SF_AutoeditAPI.php(115): SFAutoeditAPI->doAction()
#7 /var/www/html/site/extensions/SemanticForms/specials/SF_FormEdit.php(79): SFAutoeditAPI->execute()
#8 /var/www/html/site/extensions/SemanticForms/includes/SF_FormEditAction.php(196): SFFormEdit::printForm(string, string)
#9 /var/www/html/site/extensions/SemanticForms/includes/SF_FormEditAction.php(32): SFFormEditAction::displayForm(SFFormEditAction, Article)
#10 /var/www/html/site/includes/Wiki.php(441): SFFormEditAction->show()
#11 /var/www/html/site/includes/Wiki.php(305): MediaWiki->performAction(Article, Title)
#12 /var/www/html/site/includes/Wiki.php(596): MediaWiki->performRequest()
#13 /var/www/html/site/includes/Wiki.php(460): MediaWiki->main()
#14 /var/www/html/site/index.php(49): MediaWiki->run()

Versions of MediaWiki, Semantic extensions (incl. forms end other) are up to date.
Comment 1 Yaron Koren 2013-12-02 14:29:52 UTC
Stephan - I don't understand this, but hopefully you do. :)
Comment 2 s7eph4n 2013-12-02 15:15:05 UTC
Could you please explicitly identify which version of SF you are running? Because this sounds like a bug fixed more than 6 months ago.
Comment 3 Sergey Vladimirov 2013-12-29 09:56:09 UTC
I used the GIT HEAD versions by 2013-12-02 for MediaWiki, Semantic Wiki, Semantic Forms, etc.
Comment 4 Yaron Koren 2013-12-29 13:27:41 UTC
Sergey - are you sure about that? I just looked through the code history, and as far as I can tell the call to serialize() in SF_FormPrinter.php was commented out in May 2013:

https://git.wikimedia.org/commitdiff/mediawiki%2Fextensions%2FSemanticForms.git/ca8d126424c19df723c0f8d39bc6ca21cb49be5c

Maybe you're on some tag/branch and not aware of it? What actual version of SF are you running? (See Special:Version.)
Comment 5 Yaron Koren 2014-01-03 17:38:46 UTC
I'm setting this to "invalid" - I simply don't see any way that this could be due to anything other than using old code.

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


Navigation
Links