Skip to content

dzcb generates incorrect ColorCode in editcp output #84

@jschiefer

Description

@jschiefer

dzcb often creates two conflicting fields for the ColorCode of a channel, in cases where the color code is not 1. You can observe this as follows:

  • Retrieve the latest codeplug from mycodeplug/example-codeplug
  • Import the file default/example-md-uv380.jscon into editcp (tested with 1.0.29). Ignore warning about invalid channel names.
  • Find the channel named "WA 1 SCE". Observe that the Color Code field in the UI is incorrectly set to 1.
  • Open the file example-md-uv380.json with an editor. Line 115509, is the beginning of the channel definition for "WA 1 SCE"
  • Line 115513 contains the following definition: "ColorCode": "On"
  • Line 115559 contains the definition "Color Code": "2".
  • Editing the Json file by hand, removing the first definition and changing the second one to "ColorCode": "2" results in a correct import for this channel.
  • I noticed that the ColorCode definition is present for all channels, whereas the Color Code one is not.

Metadata

Metadata

Assignees

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