Rasa 3.0.1, dispatcher message will not displayed after failed slot validation

Hi folks,

I tried to migrate to Rasa 3.0.1 and I noticed that in the slot validation in forms dispatcher messages will not be diplayed if the validation returned None for the validated slot. The Bot shows the utter_ask_-message for my slot but do not show my custom message.

example.

def validate_slot_name(......) -> Dict[Text, Any]:
   .....
   dispatcher.utter_message('This message will not be displayed')
   return {'slot_name': None}

Does anyone have the same problem or maybe an explanation or solution.

Thanks

2 Likes

Hey @mengelhardt, this is very interesting, thank you! Given that this looks like a bug, could you, please, report it on the Rasa repo with a minimalistic bot example so that we can reproduce it and fix it?

1 Like