Last modified: 2010-06-10 07:52:26 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 T25420, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23420 - SF preload query string issue with empty fields
SF preload query string issue with empty fields
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-06 10:44 UTC by Neill Mitchell
Modified: 2010-06-10 07:52 UTC (History)
1 user (show)

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


Attachments

Description Neill Mitchell 2010-05-06 10:44:57 UTC
Hi.

I'm running SF 1.9 with SMW 1.4.3 and MW 1.15.1.

I'm seeing strange problem with form preloading. I have the following in 
a template:

{{#formlink:form=Edit Request Form|link text=Request Changes|link 
type=button|query string=Edit Request Template[Submitted By]={{{Contact 
Person|}}}&Edit Request Template[Email]={{{Email|}}}&Edit Request 
Template[Telephone]={{{Telephone|}}}

This works fine if all the fields are populated, but if one field has 
been left blank then it takes the value from the first 
template-name[field-name]=field-value.

For example, if the Telephone field is not filled in, then it gets 
populated by the Contact Person field contents. I would expect in this 
case that the Telephone field in the form would be empty. It should certainly not be populated by the Contact Person field contents!

I'm sure this was working properly with SF 1.8.8.
Comment 1 Yaron Koren 2010-06-10 01:23:12 UTC
I believe this has been fixed in SF 1.9.1.
Comment 2 Neill Mitchell 2010-06-10 07:52:26 UTC
Hi Yaron.

I'll test. Thanks for the fix :)

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


Navigation
Links