store.get fails when an object doesn't exist. #1

Closed
nilclass opened this Issue Nov 14, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@nilclass
Contributor

nilclass commented Nov 14, 2012

According to steps for retrieving a value from an object store the result should be undefined if no record was found.
Instead I see an error [indexeddb.Store.G.30]: no such object.
Am I doing something wrong or what's the deal?

@metagriffin

This comment has been minimized.

Show comment
Hide comment
@metagriffin

metagriffin May 25, 2013

Owner

thanks for catching that error, and many thanks for the pull request - i've now merged it. note that i also just added a fix to the silly "onupgradecomplete" workaround, so if you are using that, it can now be removed.

Owner

metagriffin commented May 25, 2013

thanks for catching that error, and many thanks for the pull request - i've now merged it. note that i also just added a fix to the silly "onupgradecomplete" workaround, so if you are using that, it can now be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment