botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
75 stars 85 forks source link

[BUG]: Error while loading the conversation history using custom components #1500

Open sebburon opened 3 years ago

sebburon commented 3 years ago

Sometimes, Botpress won't be able to load the conversation history and an error will be throned in the console. Very hard to replicate but here are the usual steps.

  1. Have a pending handoff waiting that is using a custom content-type
  2. Get yourself online as an agent
  3. Assign the conversation to yourself

This will break the webchat with this error Screen Shot 2021-09-29 at 3 02 05 PM

For more information on this let me know

charlescatta commented 2 years ago

I was only able to replicate this twice, I might have solved it with https://github.com/botpress/botpress/pull/5525 and https://github.com/botpress/studio/pull/128, I can no longer replicate the bug after these fixes @sebburon think you could try to replicate it on your end?

sebburon commented 2 years ago

I was only able to replicate this twice, I might have solved it with botpress/botpress#5525 and botpress/studio#128, I can no longer replicate the bug after these fixes @sebburon think you could try to replicate it on your end?

I will try and let you know ASAP

EFF commented 2 years ago

@sebburon fixed ?

sebburon commented 2 years ago

@sebburon fixed ?

@EFF Very hard to replicate. I will give it one more try today and give my final answer by the end of the day