Open landersaga opened 7 months ago
Hi @landersaga, is this issue currently unresolved?
Hi @landersaga, Quoting from your comment:- "If user create document of a doctype that consisting child table with a row, and we mapped that doctype with the custom doctype that has no child table..."
You need to create a new 'Mapping Configuration' for the child-table of the doctype you are streaming - in addition to the 'Mapping Configuration' of the parent doctype.
@nabinhait
Hi @landersaga, is this issue currently unresolved?
Yes, this issue currently unresolved
Hi @landersaga, Quoting from your comment:- "If user create document of a doctype that consisting child table with a row, and we mapped that doctype with the custom doctype that has no child table..."
You need to create a new 'Mapping Configuration' for the child-table of the doctype you are streaming - in addition to the 'Mapping Configuration' of the parent doctype.
@nabinhait
There is difference table structure on both sides. The one on the producer trying to stream updated row of child table, while the consumer doctype doesn't consisting that child table
Description of the issue
We have set up Event Streaming for 3 sites, 1 producer and 2 consumers. We mapped several ERPNext doctype with our own custom doctype. If user create document of a doctype that consisting child table with a row, and we mapped that doctype with the custom doctype that has no child table, it caused error because the stream trying to search for the child table Document Type Mapping on the consumer site even though we're not mapped the child table. This issue stops the entire event streaming, everytime the stream is triggered, it will caught at the same Event Update Log that caused this error and break the job.
Output of
bench version
Steps to reproduce the issue
Observed result
Expected result
Stacktrace / full error message
Additional information
Frappe Version: v14.62.4