Message Style is Null #71

Closed
opened 2024-10-15 18:11:19 +00:00 by corbz · 1 comment
Owner

If the message style is null, it appears weird in the UI.

The message style should never be null, but it can be if you delete the related message style.

The backend model should be changed so that the message style field defaults back to the 'Default Message Style' if cleared, and doesn't accept 'None'.

image
If the message style is null, it appears weird in the UI. The message style should never be null, but it can be if you delete the related message style. The backend model should be changed so that the message style field defaults back to the 'Default Message Style' if cleared, and doesn't accept 'None'. <img width="279" alt="image" src="attachments/1c1b467e-1d38-4530-a7c3-b49a564fb62c">
6.7 KiB
corbz added the
bug
label 2024-10-15 18:11:19 +00:00
corbz added this to the PYRSS project 2024-10-15 18:11:19 +00:00
Author
Owner

fixed by overriding the delete method on the message style model

It now searches for subscriptions using it, and sets them to use the default style before deleting itself.

fixed by overriding the delete method on the message style model It now searches for subscriptions using it, and sets them to use the default style before deleting itself.
corbz closed this issue 2024-10-15 19:16:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: corbz/PYRSS-Website#71
No description provided.