Skip to content

Dispatched event, postBack, or messageBack + activityMiddleware causes fatal error #3434

@stevkan

Description

@stevkan

Screenshots

image

Version

CDN: v4.10.0

Describe the bug

Error occurs when store.dispatch() is used to send a SEND_EVENT, SEND_POST_BACK, or SEND_MESSAGE_BACK activity and activityMiddleware is also utilized.

Steps to reproduce

  1. Run the 05.custom-components/c.user-highlighting MockBot located in the sample.
  2. Type "herocard" into the send box
  3. Click the "postBack" button
  4. See error

Expected behavior

No error should occur with dispatch and activityMiddleware functioning, as expected.

[Bug]

Metadata

Metadata

Assignees

Labels

SampleImplement PoC or sample codebugIndicates an unexpected problem or an unintended behavior.p1Painful if we don't fix, won't block releasing

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions