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

Error when inserting data with a key parameter and objectstore with inline keys #7

Closed
kristofdegrave opened this issue Jun 17, 2012 · 1 comment

Comments

@kristofdegrave
Copy link

I got the follow exception while inserting data with a key parameter and objectstore with inline keys. I think this error/exception isn't handled nice because it blocks further working while I use error handling.

Uncaught exception: SyntaxError: Function constructor: failed to compile functionError thrown at line 34, column 3 in throwDOMException(name, message, error) in http://localhost:50046/Scripts/indexeddb.shim.js:
var e = new DOMException.constructor(0, message);
called from line 550, column 6 in (props) in http://localhost:50046/Scripts/indexeddb.shim.js:
idbModules.util.throwDOMException(0, "Data Error - The object store uses in-line keys and the key parameter was provided", props);
called from line 515, column 7 in (tx, data) in http://localhost:50046/Scripts/indexeddb.shim.js:
callback(me.__storeProps);
Linq2IndexedDB.js:909
Insert Started, Object , 1, 1
indexeddb.shim.js:34
0, Data Error - The object store uses in-line keys and the key parameter was provided, Object
indexeddb.shim.js:848
An error in transaction,

@JamesMessinger
Copy link
Collaborator

Can you please try this again with the latest version of IndexedDBShim? We've made a bunch of changes recently to make the shim behave the same as native IndexedDB implementations, so this behavior should be better now.

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