mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: Notification Failing on Uniqueness Error (cardsubscription) #724
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @StephanSkai on GitHub (Jun 5, 2025).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
Chrome
Current behavior
Implemented telegram bot notifications. Successfully received test messages when connecting the telegram url, however on car change (move or comment), I see the following errors in the logs.
And received no message regarding card change.
Desired behavior
In this situation, I'd expect a valid message to appear in my telegram chat notifying me of card change.
Steps to reproduce
I added my tgram service to notification panel. Tested it and successfully received the test message:
and then tried to make a comment on a card I am subscribed to, or move a card, and failed to receive a message. Checked the logs and saw a bunch of the above logs.
Other information
No response
@StephanSkai commented on GitHub (Jun 5, 2025):
@meltyshev commented on GitHub (Jun 5, 2025):
Hi! Thanks for reporting this.
First of all, this is just a warning. Waterline ORM can't handle uniqueness errors on multiple fields properly, so it can generally be ignored. However, the strange part is that we've already commented out this warning using this patch, so it shouldn't appear in the logs at all. This likely means the patch wasn't applied in your case, even though it should be applied automatically when you run
npm install.Regarding the notifications, have you tried triggering one from a different user? Notifications aren't sent to the user who performs the action. Also, for testing purposes, you can try setting the same Telegram notification URL in the board settings and then move a card. Since per-board notifications are triggered on every board action, you should receive one that way.
@StephanSkai commented on GitHub (Jun 6, 2025):
Fantastic. That worked.
Greatly appreciate your help @meltyshev.