Skip to content

Retry Later breaks the task that is re-queued. #65

@Codewow

Description

@Codewow

Currently on Flex UI 2.10.0.
Using the plugin version 1.1.0

  1. Create the original task
  2. Accept the task on Flex.
  3. Click "Retry Later"
  4. Accept/Click the new task assigned to you.
  5. Get a blank flex page.
  6. Notice that the task never goes away and must be deleted from Task Router manually to remove it.

The task flex UI is returning is WR1aece6863f1ae984e675290a1fdf2b09
But the Task in TaskRouter is actually WTf398575f999eb65d40583aed410f3394

When refreshing the final blank page, this error gets returned.

Twilio Flex Error report


Error: "An error has been detected inside DynamicComponent"

LOG LINE

12/11/2024, 2:21:55 PM - DynamicComponent: An error has been detected inside the AgentDesktopView.Panel2 DynamicComponent

Original error:
"Cannot read properties of undefined (reading 'replace')"

STACK TRACE

Error: An error has been detected inside DynamicComponent
    at new n (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:4579838)
    at e.createAndProcessError (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:4582952)
    at e.handleCoreError [as errorProcessingOverride] (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:4581353)
    at e.processError (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:9273933)
    at e.createAndProcessError (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:9274138)
    at t.componentDidCatch (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:9256316)
    at Nh.f.componentDidCatch.c.callback (https://assets.flex.twilio.com/packages/react-dom/17.0.2/react-dom.min.js:142:309)
    at dh (https://assets.flex.twilio.com/packages/react-dom/17.0.2/react-dom.min.js:80:101)
    at Bj (https://assets.flex.twilio.com/packages/react-dom/17.0.2/react-dom.min.js:144:468)
    at Qj (https://assets.flex.twilio.com/packages/react-dom/17.0.2/react-dom.min.js:176:361)

DETAILS

{
    "message": "An error has been detected inside DynamicComponent",
    "wrappedError": "Cannot read properties of undefined (reading 'replace')",
    "description": "An error has been detected inside the AgentDesktopView.Panel2 DynamicComponent",
    "context": "DynamicComponent",
    "type": "app",
    "severity": "normal",
    "twilioErrorCode": 45600
}

image
task
task2
task3
task4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions