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

batchPutItems only stores first item #6

Open
conflagrator opened this issue Mar 23, 2011 · 4 comments
Open

batchPutItems only stores first item #6

conflagrator opened this issue Mar 23, 2011 · 4 comments

Comments

@conflagrator
Copy link
Collaborator

I am trying to write an array of items to SimpleDB via batchPutItems. For some reason, only the first item in the array is stored. All items are well formed, with an $ItemName attribute. Storing every single item with putItem works fine.

@rjrodger
Copy link
Owner

Hi conflagrator

I'm not able to reproduce this - could you write an expresso test case?
Just cut and paste the test/simpledb.test.js file, delete the irrelevant rests, and modify the BatchPutItems test.

This would help me track it down,

thanks,
Richard

@conflagrator
Copy link
Collaborator Author

Hi Richard,

unfortunately I'm not familiar with expresso tests. I tried to run your test with "sudo node simpledb.test.js run", but it threw me an error ("Object # has no method 'isNull'"). Could you tell me a tutorial on how to work with expresso tests?

Thank you,
Thomas

@rjrodger
Copy link
Owner

Hi Thomas,

You'll need expresso to run them, do:

npm install expresso

and then, in the simpledb root folder:

expresso -I lib test

You should see output log entries for each test and simple command.

Thanks for help me with this. I really want to fix this bug - just can't seem to repro it myself :)

Richard

@rjrodger
Copy link
Owner

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