ActivityMiddleware loops through activities in reverse
See original GitHub issueScreenshots
Version
4.10.1
<meta name="botframework-directlinespeech:version" content="4.10.1">
<meta name="botframework-webchat:bundle:variant" content="full">
<meta name="botframework-webchat:bundle:version" content="4.10.1">
<meta name="botframework-webchat:core:version" content="4.10.1">
<meta name="botframework-webchat:ui:version" content="4.10.1">
Describe the bug
Activities pass through the middleware in the opposite order that they arrived in.
Steps to reproduce
- Send an activity to the frontend.
- 1st Activity passes through activity middleware.
- Send another activity to the frontend.
- 2nd Activity passes through activity middleware.
- 1st Activity passes through activity middleware.
Expected behavior
- Send an activity to the frontend.
- 1st Activity passes through activity middleware.
- Send another activity to the frontend.
- 2nd Activity passes through activity middleware.
-or-
- Send an activity to the frontend.
- 1st Activity passes through activity middleware.
- Send another activity to the frontend.
- 1st Activity passes through activity middleware.
- 2nd Activity passes through activity middleware.
Preferably the latter.
[Bug]
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
How to use activitymiddleware if activities of type event are ...
In the client I am using middleware to catch this event and hide or show the sendBox. In the console, i see that...
Read more >botframework-webchat 4.3.1-master-bb7e059 | MyGet
01.b.getting-started-es5-bundle, Introduces full-featured Web Chat embed with backwards compatibility for ES5 browsers using Web Chat's ES5 ponyfill.
Read more >Chapter 9 Project Scheduling Flashcards - Quizlet
A) Identify all loops through activities. B) Identify the party responsible for each activity. C) Calculate the float for each activity. D) Understand...
Read more >Assistance for Application and Technology Deployments ...
activities and work with the Department to prioritize resources as required. ... The overall approach forms a closed loop feedback system.
Read more >Computing surfaces - a platform for scalable interactive displays
The activity of individual tiles is tightly coupled with the activity of ... of addressing cycles required to achieve G gray levels. ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@felixvanleeuwen, can you post the Web Chat code you are using (hiding any tokens / secrets being passed in)?
I have a slight suspicion this is by design, but am confirming.
Thanks for the info