alexa-skills-kit-sdk-for-nodejs icon indicating copy to clipboard operation
alexa-skills-kit-sdk-for-nodejs copied to clipboard

`AlexaHouseholdListEvent.ItemsCreated` only ever provides a single ItemId

Open jonnyreeves opened this issue 3 years ago • 2 comments

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:

jonnyreeves avatar Nov 19 '22 20:11 jonnyreeves

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?

doiron avatar Nov 22 '22 03:11 doiron

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: @.***>

jonnyreeves avatar Nov 22 '22 06:11 jonnyreeves