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

       Web browser: ---
             Bug #: 34214
           Summary: #get_web_data / #for_external_table don't work with
                    JSON format (output from Special:Ask)
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ExternalData
        AssignedTo: yaro...@gmail.com
        ReportedBy: dan.bol...@gmail.com
    Classification: Unclassified


I've put several examples here:
http://seqanswers.com/wiki/NeuroLex_test/q1

That wiki is using the latest trunk version of ED, but I was seeing similar
behaviour with ED-1.3.2

If I'm doing it right, the examples show that:

1) JSON format from a SMW-1.4.3 Special:Ask totally fails to be parsed by ED,
while an identical query using CSV with header format is parsed correctly.

2) JSON format from a SMW-1.7.1 alpha3 Special:Ask is parsed by ED into local
variables, but is done so incorrectly, either at the #get_web_data or the
#for_external_table stage.

Unfortunately the two different SMW instances don't have the same data, so I
can't do a direct comparison, but all the JSON / CVS format data is available
via the URLs for you to see what's going on.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to