alexa-skills-kit-sdk-for-nodejs
alexa-skills-kit-sdk-for-nodejs copied to clipboard
`AlexaHouseholdListEvent.ItemsCreated` only ever provides a single ItemId
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:
Expected Behavior
When telling alexa to add multiple items to a list (eg: 'Alexa add eggs and ham to shopping list'), the AlexaHouseholdListEvent.ItemsCreated event received by the custom skill should contain 2 itemId's in the payload's listItemIds array
Current Behavior
Only a list listItemId is provided, however multiple items appear in the Alexa App's view of the shopping list.
Possible Solution
Steps to Reproduce (for bugs)
- Setup an Alexa skill that listens to the
AlexaHouseholdListEvent.ItemsCreatedrequest type - Tell alexa 'Alexa, add eggs and ham to shopping list'
- Observe that your skills' code only recieved a single listItemId in the request payload's
listItemIdsarray. - Observe that your Alexa app shows both 'eggs' and 'ham' as entries in your shopping list.
Context
This is a correctness issue with no obvious workaround.
Your Environment
- ASK SDK for Node.js used: ^2.7.0
- Operating System and version: Running on the Alexa Skill hosted development env.
Node.js and NPM Info
- Node.js version used for development:
- NPM version used for development:
thanks for reporting this issue. I have not had a chance to attempt to reproduce this issue yet. However, could you confirm if you are getting two events one for "eggs" and a second one for "ham", or, just the one event overall?
Just the one event, hence the data loss.
On Tue, 22 Nov 2022, 03:53 Mario, @.***> wrote:
thanks for reporting this issue. I have not had a chance to attempt to reproduce this issue yet. However, could you confirm if you are getting two events one for "eggs" and a second one for "ham", or, just the one event overall?
— Reply to this email directly, view it on GitHub https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs/issues/725#issuecomment-1323003987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQ36N2WR4QBNBK3IQKVXTWJQ7UJANCNFSM6AAAAAASFPMIQU . You are receiving this because you authored the thread.Message ID: @.***>