Upload multiple attachments may send them in random orders
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api
Research direction
Start at the DirectLineJS postActivity entry point and reproduce the example with its two image attachments while observing the network trace. Trace the attachment upload and activity-send flow; done means the bot receives attachments in the same order as the input array.
Written by the indexing model from the issue text.
Description
Using DirectLineJS (not Web Chat) and send the following to the bot.
directLine.postActivity({
attachments: [{
contentType: 'image/png',
contentUrl: 'https://webchat-waterbottle.azurewebsites.net/public/surfacelogo.png'
}, {
contentType: 'image/png',
contentUrl: 'https://webchat-waterbottle.azurewebsites.net/public/xboxlogo.png'
}],
text: 'Hello, World!',
type: 'message'
});
Due to network load speed differ, the bot may receive the two attachments in reversed order.
I looked at network trace, it seems DLJS is the root cause, not the channel.
- Dominant language
- TypeScript
- Stars
- 199
- Forks
- 133
- PR merge metrics
- No merged PRs in 30d
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/BotFramework-DirectLineJS
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
microsoft/BotFramework-DirectLineJS#432 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/BotFramework-DirectLineJS#424 · 3 comments ·
-
Application crashes when refresh token returns an errorMay be free again @compulim claimed this 793 days ago, and no pull request is open. Openbug
microsoft/BotFramework-DirectLineJS#421 · 3 comments · 1 assignee ·
All issues in microsoft/BotFramework-DirectLineJS
Similar issues
-
ADD openalgoOpentemplate
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
factory-active factory-automatic task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
vercel/ai#21528 · 3 comments ·
Maintainers usually reply within 1 day
-
bug Needs: Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
microsoft/fluentui-contrib#671 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sveltejs/acorn-typescript#150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100