Last modified: 2012-02-15 02:04:33 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 T35982, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33982 - SemanticFormsInputs fatal bug on regex validation
SemanticFormsInputs fatal bug on regex validation
Status: VERIFIED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticFormsInputs (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: s7eph4n
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-27 01:55 UTC by Jamie Thingelstad
Modified: 2012-02-15 02:04 UTC (History)
0 users

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


Attachments

Description Jamie Thingelstad 2012-01-27 01:55:49 UTC
Using r110078 of SemanticFormsInputs and fields that use regex validation throw a fatal error:

PHP Notice:  Undefined variable: wgOut in /srv/www/mediawiki/public_html/w/extensions/SemanticFormsInputs-trunk/SFI_Inputs.php on line 178

Modifying line 85 and adding the $wgOut to globals fixes it.

global $wgRequest, $wgUser, $wgParser, $wgOut;

While this does allow the form to render, the form inputs that are using regex validation still fail to render.

You can see this error at

http://wikinosh.com/w/index.php?title=Apple&action=formedit

Note the "<" symbols in the table.
Comment 1 Jamie Thingelstad 2012-02-08 01:55:12 UTC
This bug is still at large in r110907. The PHP notice does seem to be gone, but the output in the Wiki page is still wrong. Wondering if I should just pull out the regex validator for now?
Comment 2 s7eph4n 2012-02-09 21:38:48 UTC
You are using a seriously outdated version (14 months). I do not update branched versions, all development is done on trunk. I can not reproduce the problem on trunk.
Comment 3 Jamie Thingelstad 2012-02-15 02:04:33 UTC
Ugh, sorry about that. I was doing an svn update but didn't notice I was on the wrong branch! Sorry about that. Switched to trunk and it works fine.

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


Navigation
Links