Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AlexaHouseholdListEvent.ItemsCreated only ever provides a single ItemId #725

Open
jonnyreeves opened this issue Nov 19, 2022 · 2 comments
Open

Comments

@jonnyreeves
Copy link

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)

  1. Setup an Alexa skill that listens to the AlexaHouseholdListEvent.ItemsCreated request type
  2. Tell alexa 'Alexa, add eggs and ham to shopping list'
  3. Observe that your skills' code only recieved a single listItemId in the request payload's listItemIds array.
  4. 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:
@doiron
Copy link
Contributor

doiron commented Nov 22, 2022

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?

@jonnyreeves
Copy link
Author

jonnyreeves commented Nov 22, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants