Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#11036 closed Patch - Bug Fix (fixed)

GetStatus Service API returning malformed XML in v0.26 RC

Reported by: r.d.vaughan@… Owned by: mdean
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@… 20 months ago.
0.26RC patch for GetStatus? Service API XML bug

Download all attachments as: .zip

Change History (3)

Changed 20 months ago by r.d.vaughan@…

0.26RC patch for GetStatus? Service API XML bug

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

  • Owner set to R.D. Vaughan <r.d.vaughan@…>
  • Resolution set to fixed
  • Status changed from new to closed

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 20 months ago by mdean

  • Owner changed from R.D. Vaughan <r.d.vaughan@…> to mdean

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.