Opened 13 years ago

Closed 13 years ago

#2269 closed patch (fixed)

Deleting a video source does not delete its associated channels

Reported by: knowledgejunkie@… Owned by: danielk
Priority: minor Milestone: 0.20
Component: mythtv Version: 0.20
Severity: medium Keywords: mythtv-setup video source delete
Cc: Ticket locked: no

Description

Very much connected to bug #2258, deleting a video source in mythtv-setup does not delete its associated channels, but rather leaves the channels stranded as 'unassigned' in the channel editor. Trying to delete them 'en masse' by selecting 'Unassigned' channels in the channel editor then catastrophically results in \all\ channels being deleted (see bug #2258).

Perhaps it would be best if some checking occured in both the video source (for associated channels) and channel editors (channels associated with 'real' video sources) before their respective deletions from the database occur?

Thanks again, Nick

Change History (3)

comment:1 Changed 13 years ago by danielk

Milestone: 0.21
Version: head

comment:2 Changed 13 years ago by danielk

Milestone: 0.210.20
Type: defectpatch
Version: head0.20

A fix for this problem in SVN head was checked in, in [11375].

comment:3 Changed 13 years ago by danielk

Resolution: fixed
Status: newclosed

(In [11425]) Fixes #2269. Backports fix for deleting video sources in mythtv-setup.

When you deleted a video source, mythtv-setup left behind the channels and the capture card input connections to the source. This extends the deletion to remove this associated data as well.

Note: See TracTickets for help on using tickets.