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

       Web browser: ---
            Bug ID: 44227
           Summary: Semantic Forms sfautoedit via API loses field with
                    coordinate information
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: SemanticForms
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

To see the behavior see this diff:

http://roadsignmath.com/w/index.php?title=Illinois_Cancellation&diff=prev&oldid=6700

That diff is the result of this autoedit call:

c = wiki.call({'action': 'sfautoedit', 'form': 'Sign', 'target': title,
'Sign[State]': result.rows[0]['state'], 'Sign[City]': result.rows[0]['city'],
'Sign[County]': result.rows[0]['county'], 'Sign[Country]':
result.rows[0]['country'] })

Note that "Coordinates" is not one of the fields being edited. When the edit
occurs Semantic Forms moves the fields around in the Template as it usually
does, but the Coordinates field contents are lost in the process.

I've got Semantic Forms 2.5.1 and SMW 1.9 alpha.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to