Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display Group : cannot delete Display Group linked to ad campaign #3022

Closed
PeterMis opened this issue Feb 17, 2023 · 0 comments · Fixed by xibosignage/xibo-cms#1614
Closed
Assignees
Labels
Milestone

Comments

@PeterMis
Copy link
Member

With ad Campaigns we've added a new table - lkcampaigndisplaygroup that manages the links between ad Campaign and Display Groups.

While it is handled correctly on Campaign delete, we do not remove the link on DisplayGroup delete (also affects Display specific DisplayGroup).
As such on an attempt to delete Display/DisplayGroup that has a record in that table, we will get SQL error about constraint violation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant