vitebonus / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

goog.db.Index.getAllKeys() returns array of undefined values #619

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1. Create indexedDb database, create objectStore, create index
2. Put some indexable objects into the objectStore
3. call getAllKeys() on the index

What is the expected output? What do you see instead?
A deferred array of keys. A deferred array of undefineds

What version of the product are you using? On what operating system?
Chrome 31, OSX

Please provide any additional information below.
The problem is when you call openKeyCursor(), cursor object does not have 
property "value", "primaryKey" should be used.
db_test does not fail, because only length of array is tested, not values.

Original issue reported on code.google.com by michal.s...@gmail.com on 5 Jan 2014 at 1:34

GoogleCodeExporter commented 8 years ago
This issue has been moved to 
https://github.com/google/closure-library/issues/16. If this is still an issue, 
would you mind creating a repro case in a template like 
https://jsfiddle.net/2mjc800g/ and reopen the github issue.

Original comment by joelt...@google.com on 20 Jul 2015 at 8:23