yathit / ydn-db

Javascript database module for Indexeddb, Web SQL and localStorage storage mechanisms supporting version migration, advanced query, SQL and transaction.
Apache License 2.0
503 stars 41 forks source link

ydn.error.ArgumentException: store name "NAME" not found #71

Closed S-K-Lieren closed 9 years ago

S-K-Lieren commented 9 years ago

YDN-DB tells me there was no store named 'tasks' when I try clearing it. It definately exists.

ydn.error.ArgumentException: store name "tasks" not found.
    at Error.C (http://localhost:3000/services/common/localStorage/ydndb.js:26:411)
    at ze.l.clear (http://localhost:3000/services/common/localStorage/ydndb.js:109:114)
    at T.l.clear (http://localhost:3000/services/common/localStorage/ydndb.js:182:193)
yathit commented 9 years ago

Please attach runnable code in jsbin or jsfiddle.

S-K-Lieren commented 9 years ago

Maybe I will tomorrow since I don't have any time now. clear() doesn't seem to work at all, at least for me:

ydn.error.ArgumentException: number of store names must more than 0
yathit commented 9 years ago

"Does not work for me" is the worst thing a programmer can say. Please improve your bug report skill.