v12 icon indicating copy to clipboard operation
v12 copied to clipboard

[BUG] Issue with DialogEngine using Small Talk template

Open laurentlp opened this issue 3 years ago • 2 comments

Describe the bug Sometimes, using a Small Talk template, an error is thrown by the DialogEngine saying that a certain content-element does not exist.

To Reproduce Steps to reproduce the behavior:

  1. Start a clean install of Botpress
  2. Create a new bot using the Small Talk template
  3. Train the bot
  4. Talk to the bot and sometimes it seems to result in having errors in the DialogEngine (see screenshot)

Note that the test content-element is mentioned nowhere in the bot archive.

Expected behavior There shouldn't be any errors when running a template bot.

Screenshots

Screenshot from 2022-02-09 20-56-48

Environment (please complete the following information):

  • OS: Arch Linux
  • Browser Chrome
  • Browser Version 98.0.4758.80
  • Botpress Version Happened on v12.26.10 (but pretty sure this issue is older than that)
  • NodeJS 12.18.1

Additional context Add any other context about the problem here.

laurentlp avatar Feb 10 '22 22:02 laurentlp

@laurentlp Is it really an issue with the dialog engine ? or is it only that the builtin text does not exist ?

EFF avatar Mar 28 '22 13:03 EFF

@EFF the built-in text did not exist on the disk or even in any of the flows/skills, o I consider this an issue with the dialog engine since it does a lookup for something that seems to have never existed. Also, I cannot seem to be able to consistently reproduce the issue, although we managed to reproduce it more than once.

laurentlp avatar Mar 28 '22 14:03 laurentlp