Older channels can't update buttons
Closed this issue · 2 comments
New controls are being generated for a channel when there is already an existing control set.
Todo:
Write a script to kill the dupes.
Make a patch to ensure no further dupes will be created.
More updates:
This is turning into a big thing. It's basically an issue with supporting legacy data in the database. I need to write a script that will do the following:
For each channel, find the most recent control interface created for that channel, and set that as the interface.
If a channel does not have an assigned interface, then create one.
Remove all older duplicates for controls. - This is risky, and may not be needed.
Remove "channel" column from controller db object.
Ensure that no duplicate interfaces can ever get created again.