I have in my code a basic Kanban with “comments: true” and I’m populating the kanban from a php file that outputs the following xml:
CNF James 1 James@mail.com [{id:1, date:2019-01-28 18:33:05, text:Is it ready}] [{id:1, date:2019-01-28 18:33:05, text:Is it ready}, {id:2, date:2019-01-28 18:33:19, text:Not yet}]The kanban is populated with the above data and comments icon shows 2 comments, but when I click on it, the comment widget opens with no comments and the console shows the following error:
Uncaught TypeError: Cannot read property ‘replace’ of undefined
What am I doing wrong? Also is it a problem that comments id:1 is showing twice?
Thanks,
Brian