event_streaming icon indicating copy to clipboard operation
event_streaming copied to clipboard

Duplicate Records in Update Log

Open ascorbic-acid opened this issue 3 years ago • 0 comments

Description of the issue

On the Event Producer Site, the Event Update gets Created Twice and therefore duplicated on Consumer Site

Images: https://ibb.co/tM9z4FP https://ibb.co/Cw4yDCB

Output of bench version

erpnext 14.11.1
event_streaming 0.0.1
frappe 14.21.0
payments 0.0.1

Steps to reproduce the issue

simply link two sites as consumer & producer and listen for ToDo doctype Then create a new ToDo record and check Event Update, you will find the same record twice

Stacktrace / full error message

no errors but i think the issue is in the following file, i will try to follow up

event_streaming/event_streaming/event_streaming/doctype/event_update_log/event_update_log
method: notify_consumers

Additional information

Ubuntu 22.04 manual install

ascorbic-acid avatar Jan 01 '23 14:01 ascorbic-acid