botpress / v12

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

[BUG] Accessing internal skill flows while debugging #1343

Open dvncan opened 3 years ago

dvncan commented 3 years ago

Describe the bug When debugging a flow with multiple skill's either a choice or slot filling skill when the flow enters that node the flow editor is taken to the internal flow design for that skill. After responding to the bot message / moving to the next node / the flow editor returns to the flow the skill was called from. I don't think this is meant to happen as it hasn't in any other flow. The person also has the ability to edit the skill for everyone on the instance which could potentially break the skill.

To Reproduce Build or use a flow with choice and or slot filling skills in the flow editor and step through the messages with the emulator. it doesn't happen every time but seems to happen often enough for me to see it multiple times with the 'sales-bot'

  1. Go to flow editor
  2. Build a flow using a skill node
  3. Test the conversation with the emulator
  4. On occasion the flow editor will change to the internal flow of the skill as seen in the screen shot below.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

This is the choice skill Screen Shot 2021-05-13 at 2 29 39 PM

Environment (please complete the following information):

Additional context The error is occasional however Jesse, Pooja and myself have all faced this bug.

rodrigo-speller commented 2 years ago

This causes the Slot Filling skill does not automatically advance on "On already extracted" state.

image