Last modified: 2012-12-27 06:29: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 T45455, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43455 - invalid XML response ("4::coursename" appears as node attribute, "<5::owner>" appears as xml node)
invalid XML response ("4::coursename" appears as node attribute, "<5::owner>"...
Status: RESOLVED DUPLICATE of bug 43221
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.21.x
All All
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-27 06:04 UTC by anthonyzhang
Modified: 2012-12-27 06:29 UTC (History)
7 users (show)

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


Attachments

Description anthonyzhang 2012-12-27 06:04:02 UTC
The following api request gave a response with invalid XML content:

http://en.wikipedia.org/w/api.php?action=query&format=xml&list=recentchanges&rclimit=1&rcnamespace=0%7C2%7C4%7C6%7C10%7C14%7C100&rcprop=comment%7Cflags%7Cids%7Cloginfo%7Csizes%7Ctimestamp%7Ctitle%7Cuser&rcstart=2012-12-26T20:25:22Z

<?xml version="1.0"?><api><query><recentchanges><rc type="log" ns="0" title="Wikipedia" rcid="545999515" pageid="5043734" revid="0" old_revid="0" user="Sage Ross (WMF)" oldlen="0" newlen="0" timestamp="2012-12-26T20:25:22Z" comment="" logid="46520398" logtype="eparticle" logaction="selfadd" 4::coursename="Education Program:Example University/Example Course (2013 Q1)"><5::owner><param>12535944</param><param>Sage Ross (WMF)</param></5::owner></rc></recentchanges></query><query-continue><recentchanges rcstart="2012-12-26T20:25:22Z" /></query-continue></api>

"4::coursename" is invalid XML node attribute, and "<5::owner>" is invalid XML tag node.

similar bug happened one week ago:
https://bugzilla.wikimedia.org/show_bug.cgi?id=43221
Comment 1 Bawolff (Brian Wolff) 2012-12-27 06:08:53 UTC
I'm duping to bug 43221. It sounds like the same issue. (Note Wikimedia wikis won't be updated until about jan 9 (unless someone decides to merge the change early), so you won't see the fix for that issue until then)

*** This bug has been marked as a duplicate of bug 43221 ***
Comment 2 anthonyzhang 2012-12-27 06:18:59 UTC
The invalid XML attribute "4::coursename" is the same issue with the invalid attributes in bug 43221. The fix https://gerrit.wikimedia.org/r/39221 should cover all of them. But the invalid XML tag node "<5::owner>" is not the same issue, it's not covered by that fix.
Comment 3 Bawolff (Brian Wolff) 2012-12-27 06:29:08 UTC
I believe the fix for bug 43221 was generic enough to cover all log parameters.

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


Navigation
Links