Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit test for CancelAllDialogs and fix eventName and eventValue null #3536

Merged
merged 1 commit into from
Mar 11, 2020

Conversation

tomlm
Copy link
Contributor

@tomlm tomlm commented Mar 11, 2020

#3534
Fixes CancelAllDialogs.eventName and eventValue is valid to be null

@tomlm tomlm added this to In Progress in Adaptive via automation Mar 11, 2020
@tomlm tomlm added adaptive bug Indicates an unexpected problem or an unintended behavior. R8 Release 8 - March 16th, 2020 labels Mar 11, 2020
@@ -47,7 +47,7 @@ public class Recognizer
/// <param name="telemetryProperties">Additional properties to be logged to telemetry with the LuisResult event.</param>
/// <param name="telemetryMetrics">Additional metrics to be logged to telemetry with the LuisResult event.</param>
/// <returns>Analysis of utterance.</returns>
public virtual async Task<RecognizerResult> RecognizeAsync(DialogContext dialogContext, Activity activity, CancellationToken cancellationToken = default, Dictionary<string, string> telemetryProperties = null, Dictionary<string, double> telemetryMetrics = null)
public virtual Task<RecognizerResult> RecognizeAsync(DialogContext dialogContext, Activity activity, CancellationToken cancellationToken = default, Dictionary<string, string> telemetryProperties = null, Dictionary<string, double> telemetryMetrics = null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this, and it seems like an odd one. Can you elaborate?

@tomlm tomlm merged commit 6835cb5 into master Mar 11, 2020
Adaptive automation moved this from In Progress to Complete Mar 11, 2020
tomlm pushed a commit that referenced this pull request Mar 11, 2020
@cleemullins cleemullins deleted the tomlm/fixCancelAllDialogs branch April 6, 2020 18:35
garypretty added a commit that referenced this pull request Apr 16, 2020
* Fix AdaptiveTesting to have correct preview labels

* Proactive auth: trust incoming token url conditionally (#3533)

* Add unit test for CancelAllDialogs and fix eventName and eventValue could be null (#3536)

* fix lack of a generic typed method for posting activities to skills (#3539) (#3542)

* fix lack of a generic typed method for posting activities to skills

* remove duplicated code

Co-authored-by: Swagat Mishra <swagatm@microsoft.com>

Co-authored-by: swagat mishra <swagatmishra2007@gmail.com>
Co-authored-by: Swagat Mishra <swagatm@microsoft.com>

* EoC should only be handled when coming from parent in RunAsync (#3540) (#3543)

* Added check to only cancel dialogs in RunAsync when EoC comes from a parent bot (root or skill).
* Applied URI prefix to caller ID as per OBI spec
https://github.com/microsoft/botframework-obi/blob/master/protocols/botframework-activity/botframework-activity.md#bot-calling-skill

(cherry picked from commit 3730963)

* Merge pull request #3564 from microsoft/tedlee/fix-oauth-credentials (#3571)

[OAuth]do not set signInLink to empty when OAuthAppCredentials is set

* Address QnAMaker / recognizer telemetry across dialogs / adaptive

* Fixes following merge from master

* Added comments to the TrackRecognizerResult method on the Recognizer class.

* More comments.

Co-authored-by: Tom Laird-McConnell <tomlm@microsoft.com>
Co-authored-by: Carlos Castro <carlosscastro@users.noreply.github.com>
Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
Co-authored-by: swagat mishra <swagatmishra2007@gmail.com>
Co-authored-by: Swagat Mishra <swagatm@microsoft.com>
Co-authored-by: Gabo Gilabert <gabog@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. R8 Release 8 - March 16th, 2020
Projects
No open projects
Adaptive
Complete
Development

Successfully merging this pull request may close these issues.

None yet

2 participants