Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

bad keyPath for indices created from WebSQL data #5

Closed
wants to merge 5 commits into from

Conversation

firien
Copy link

@firien firien commented Aug 1, 2013

Indices generated from WebSQL data have unparsed JSON for keyPath.

If the index was created via IDBObjectStore.createIndex, then it is fine. However once the page is reloaded and the index is recreated via IDBDatabase._loadObjectStores then it has the wrong keyPath. No error is reported, but the index is never updated for new and updated records.

i think this was a mistake, as erroring reporting fails.
keypaths for indices were fine when they were initially created (via createIndex), but when they are regenerated from WebSQL they were unparsed JSON strings.
@firien
Copy link
Author

firien commented Aug 1, 2013

oh hell, looking at issue #3 would have saved me some time and headaches - this is the same problem

@jamesgpearce
Copy link
Contributor

Facebook is no longer actively maintaining or supporting this repo, and we are closing its old and outstanding pull requests.

Many, many thanks for your support of the project. If you have any further questions, please don't hesitate to let us know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants