https://bugzilla.wikimedia.org/show_bug.cgi?id=23420

           Summary: SF preload query string issue with empty fields
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: SemanticForms
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to