Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

[#5577] BotFrameworkClientImpl.PostActivityAsync() doesn't support null fromBotId and toBotId values - #6626

#6626
Merged
tracyboehrer merged 1 commit into
mainmicrosoft/botbuilder-dotnet:mainfrom
southworks/fix/support-null-fromBotId-and-toBotId-valuesmicrosoft/botbuilder-dotnet:southworks/fix/support-null-fromBotId-and-toBotId-valuesCopy head branch name to clipboard
May 11, 2023
Merged

[#5577] BotFrameworkClientImpl.PostActivityAsync() doesn't support null fromBotId and toBotId values#6626
tracyboehrer merged 1 commit into
mainmicrosoft/botbuilder-dotnet:mainfrom
southworks/fix/support-null-fromBotId-and-toBotId-valuesmicrosoft/botbuilder-dotnet:southworks/fix/support-null-fromBotId-and-toBotId-valuesCopy head branch name to clipboard

Conversation

@ceciliaavila

Copy link
Copy Markdown
Collaborator

Fixes #5577

Description

This PR updates the PostActivityAsync method in BotFrameworkClientImpl to allow using null values for fromBotId and toBotId arguments. This will avoid failures when anonymous skill bots don't have the AppId property in their settings.

Specific Changes

  • Replaced the throw errors by the assignation of an empty string as the default value in the method PostActivityAsync in BotFrameworkClientImpl.

Testing

The following images show Composer and SDK bots working with anonymous skills.
image

@ceciliaavila ceciliaavila added the Automation: No parity PR does not need to be applied to other languages. label Apr 28, 2023
@ceciliaavila
ceciliaavila requested a review from a team as a code owner April 28, 2023 16:51
@coveralls

Copy link
Copy Markdown
Collaborator

Pull Request Test Coverage Report for Build 350780

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 4 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.0001%) to 79.093%

Files with Coverage Reduction New Missed Lines %
/libraries/AdaptiveExpressions/BuiltinFunctions/GetNextViableTime.cs 1 90.91%
/libraries/AdaptiveExpressions/BuiltinFunctions/GetPreviousViableTime.cs 1 90.91%
/libraries/Microsoft.Bot.Streaming/Transport/WebSocket/WebSocketClient.cs 2 78.87%
Totals Coverage Status
Change from base Build 349053: 0.0001%
Covered Lines: 25831
Relevant Lines: 32659

💛 - Coveralls

@BruceHaley

Copy link
Copy Markdown
Contributor

✔️ No Binary Compatibility issues for Microsoft.Bot.Connector.dll

@tracyboehrer
tracyboehrer merged commit c09099a into main May 11, 2023
@tracyboehrer
tracyboehrer deleted the southworks/fix/support-null-fromBotId-and-toBotId-values branch May 11, 2023 13:13
This was referenced May 14, 2026
This was referenced May 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Automation: No parity PR does not need to be applied to other languages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BotFrameworkClientImpl.PostActivityAsync() doesn't support null fromBotId and toBotId values

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.