Last modified: 2014-07-11 02:40:08 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 T66049, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64049 - After upgrading to MW 1.23 forms fail to open properly
After upgrading to MW 1.23 forms fail to open properly
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-17 10:46 UTC by Antti Kanner
Modified: 2014-07-11 02:40 UTC (History)
2 users (show)

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


Attachments

Description Antti Kanner 2014-04-17 10:46:32 UTC
Form page gives out warning, that the page already exists and instead of form fields there are strings such as:

UNIQa693e03b123ceddd-item-0--QINU 

php-debugging gives warnings:

Warning: Missing argument 2 for SFFormUtils::minorEditInputHTML(), called in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 296 and defined in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 85 
Warning: Missing argument 3 for SFFormUtils::minorEditInputHTML(), called in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 296 and defined in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 85 
Notice: Undefined variable: is_disabled in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 103 
Warning: Missing argument 2 for SFFormUtils::watchInputHTML(), called in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 300 and defined in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 115 
Notice: Undefined variable: is_disabled in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 140 
Warning: Missing argument 2 for SFFormUtils::minorEditInputHTML(), called in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 296 and defined in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 85 
Warning: Missing argument 3 for SFFormUtils::minorEditInputHTML(), called in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 296 and defined in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 85 
Notice: Undefined variable: is_disabled in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 103 
Warning: Missing argument 2 for SFFormUtils::watchInputHTML(), called in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 300 and defined in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 115 
Notice: Undefined variable: is_disabled in /var/www/mediawiki/extensions/SemanticForms/includes/SF_FormUtils.php on line 140

MediaWiki version is 1.23, SMW 1.9.1.1 and Semantic Forms 2.7
Comment 1 Yaron Koren 2014-04-17 13:52:14 UTC
I don't think any of those warnings/notices are related to this problem, although it's strange that they're showing up.

Is this happening on a public wiki? If not, could you try to replicate it on a public wiki, like http://scratchpad.referata.com ? It's fine if the bug doesn't show up - I really just want to see the form definition.

Also, does this happen when creating new pages, or editing existing pages, or both?
Comment 2 Antti Kanner 2014-04-17 13:57:10 UTC
(In reply to Yaron Koren from comment #1)
> I don't think any of those warnings/notices are related to this problem,
> although it's strange that they're showing up.

Okay.
 
> Is this happening on a public wiki? If not, could you try to replicate it on
> a public wiki, like http://scratchpad.referata.com ? It's fine if the bug
> doesn't show up - I really just want to see the form definition.

Yes, this happens on public wiki:

for example:

http://tieteentermipankki.fi/mediawiki/index.php?title=Nimitys:A&action=formedit

shows the problem, and:

http://tieteentermipankki.fi/mediawiki/index.php?title=Lomake:Nimitys&action=edit

shos the form definition.

> Also, does this happen when creating new pages, or editing existing pages,
> or both?

both

Thanks

Antti
Comment 3 Yaron Koren 2014-04-17 14:13:26 UTC
Oh, it's great that the wiki is public. My guess is that the error is caused by a change that Stephan Gambke made last month to the SF code, here:

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

If it's not too much trouble, could you revert to the older version of the code - either via Git, or just by changing that file manually - and see if the problem goes away?

(This is for the UNIQ/QINU issue - I don't know if the "This page already exists, but it does not use this form" error is related.)
Comment 4 Antti Kanner 2014-04-17 15:04:09 UTC
It seems that reverting back versions did not fix the problem.

I try it again tomorrow.

Thanks for help

Antti
Comment 5 Long 2014-06-20 10:21:03 UTC
I'm getting the same error in MW 1.23, SF 2.7, SMW 1.9.2.  Saving the edit seems to work fine though.  Any update for this bug?

Thanks,

Long

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


Navigation
Links