botpress / v12

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

Rename flow breaks QnA #884

Closed aintHuman closed 4 years ago

aintHuman commented 4 years ago

If a flow is renamed, then it breaks any QnA's which were configured to redirect to the flow of the existing name.

EFF commented 4 years ago

We'll look into that thanks.

allardy commented 4 years ago

Adding the contributor friendly tag, this is supposed to work, maybe the logic needs to be double-checked. https://github.com/botpress/botpress/blob/master/modules/qna/src/backend/index.ts#L31

asashour commented 4 years ago

This issue is that the old flow name is not sent in onFlowChanged()