botpress / v12

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

QnA feedback submetric in bot_analytics table wrong when redirect is set for QnA #1637

Closed marcdion closed 1 year ago

marcdion commented 2 years ago

Describe the bug When you give feedback to a QnA answer, either with a thumbs up or a thumbs down, in the bot_analytics table, under the subMetric field, the QNA id should appear. When a redirect is set for a QnA, instead of the QnA appearing in the subMetric, it says execute default flow.

To Reproduce Steps to reproduce the behavior:

  1. Create a QNA
  2. Set a redirect to it
  3. Trigger it inside a chat
  4. Give it some feedback
  5. See in the bot_analytics table
  6. Under subMetric, execute default flow is there

Expected behavior The QnA ID should be there

Screenshots

Screen Shot 2022-04-19 at 15 58 22

Environment (please complete the following information):

Additional context N/A

github-actions[bot] commented 1 year ago

Available on v12.30.6