Handle null message.Text in DateTimePrompt #3605
Labels
Area: Engineering
Internal issues that are related to improving code quality, refactorings, code cleanup, etc.
P1
Painful if we don't fix, won't block releasing
R10
Release 10 - August 17th, 2020
Milestone
Use this query to search for the most popular feature requests.
Is your feature request related to a problem? Please describe.
DateTimeRecognizer.RecognizeDateTime itself doesn't handle null query:
botbuilder-dotnet/libraries/Microsoft.Bot.Builder.Dialogs/Prompts/DatetimePrompt.cs
Line 104 in b08e2fb
It will throw
Describe the solution you'd like
Handle null in DateTimePrompt
Describe alternatives you've considered
Handle in DateTimeRecognizer.RecognizeDateTime
Additional context
Easily happen in DLS
[enhancement]
The text was updated successfully, but these errors were encountered: