Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#11036 closed Patch - Bug Fix (fixed)

GetStatus Service API returning malformed XML in v0.26 RC

Reported by: r.d.vaughan@… Owned by: sphery
Priority: minor Milestone: 0.26
Component: MythTV - General Version: Master Head
Severity: medium Keywords: Service API GetStatus
Cc: Ticket locked: no

Description

Likely with commit https://github.com/MythTV/mythtv/commit/df47df364214 a bug was introduced which caused the GetStatus? Service API in v0.26 to returned malformed XML in the "Status" element. For details see: http://pastebin.com/zJey2dZ2 A simple patch to httpstatus.cpp as suggested by sphery has been included with this ticket.

Attachments (1)

0.26RC_GetStatus_service_api.patch (1.2 KB) - added by r.d.vaughan@… 6 years ago.
0.26RC patch for GetStatus? Service API XML bug

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by r.d.vaughan@…

0.26RC patch for GetStatus? Service API XML bug

comment:1 Changed 6 years ago by R.D. Vaughan <r.d.vaughan@…>

Owner: set to R.D. Vaughan <r.d.vaughan@…>
Resolution: fixed
Status: newclosed

In 8da7de4b511909be14861c9ec4834d685dcf8a5a/mythtv:

Fix status XML ISODate attribute.

Removed erroneous string "MythDate::" which caused malformed XML in the
Service API Status/GetStatus? output

(This was accidentally changed in df47df364214 by an overly-agressive
find/replace.)

Fixes #11036.

Signed-off-by: Michael T. Dean <mdean@…>

comment:2 Changed 6 years ago by sphery

Owner: changed from R.D. Vaughan <r.d.vaughan@…> to sphery
Note: See TracTickets for help on using tickets.