Opened 16 years ago

Closed 16 years ago

#4205 closed defect (fixed)

Transposed SaveSettingOnHost() arguments in SetDefaultProfileName()

Reported by: sphery <mtdean@…> Owned by: danielk
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Patch fixes transposed args in call to SaveSettingOnHost?() from VideoDisplayProfile::SetDefaultProfileName?().

I noticed a bad value in my DB for one of my hosts (or data's? ;). I did not create a dbcheck update to clear out invalid values, but will do so if requested. I figure since the value is harmless and the bad code never existed in any released versions, it's not necessary.

Attachments (1)

mythtv-SetDefaultProfileName_transposed_args.patch (553 bytes) - added by sphery <mtdean@…> 16 years ago.

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by sphery <mtdean@…>

comment:1 Changed 16 years ago by danielk

Milestone: unknown0.21
Owner: changed from Isaac Richards to danielk
Status: newassigned

comment:2 Changed 16 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [14938]) Fixes #4205. Applies patch from mtdean. The arguements to SaveSettingsOnHost?() were transposed in SetDefaultProfileName?().

Because of how the function is currently used the bug doesn't have a negative effect on the use of the UI, but it does put bogus entries in the settings table.

Note: See TracTickets for help on using tickets.