Skip to content

Design of internal channel handling can lead to strange effects #854

@juergenRe

Description

@juergenRe

Channels can be either disabled, primary or secondary. Both deleting or disabling a channel lead to the same role entry. But the latter one keeps its settings for the case the channel is reenabled.

On the other hand, --info does not show any disabled channels. This might lead to the situation (especially during testing), that the system refuses adding a channel because there is still a disabled one with this name located anywhere in the list.

It seems, that disable/enable has now been replaced by add/delete, so these command options are not very consistent any more. However, I don't know if disable/enable is still used by someone.

At least I suggest these improvements:

  1. Clarify the role of an deleted/not present channel with "absent" instead of disabled.
  2. let --info show disabled channels so we can get aware of them
  3. let deleteChannel output an additional message in case the channel to be deleted is absent. Deleting a channel then also will delete disabled channels.

The best would be to remove the enable/disable commands.
What do you think about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions