botpress / v12

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

[BUG] Issue with DialogEngine using Small Talk template #1606

Open laurentlp opened 2 years ago

laurentlp commented 2 years ago

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):

Additional context Add any other context about the problem here.

EFF commented 2 years ago

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

laurentlp commented 2 years ago

@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.