{"action":"created","issue":{"url":"https://api.github.com/repos/localForage/localForage-setItems/issues/6","repository_url":"https://api.github.com/repos/localForage/localForage-setItems","labels_url":"https://api.github.com/repos/localForage/localForage-setItems/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/localForage/localForage-setItems/issues/6/comments","events_url":"https://api.github.com/repos/localForage/localForage-setItems/issues/6/events","html_url":"https://github.com/localForage/localForage-setItems/issues/6","id":193913442,"number":6,"title":"UnknownError","user":{"login":"Jeff-14159","id":8378376,"avatar_url":"https://avatars.githubusercontent.com/u/8378376?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeff-14159","html_url":"https://github.com/Jeff-14159","followers_url":"https://api.github.com/users/Jeff-14159/followers","following_url":"https://api.github.com/users/Jeff-14159/following{/other_user}","gists_url":"https://api.github.com/users/Jeff-14159/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeff-14159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeff-14159/subscriptions","organizations_url":"https://api.github.com/users/Jeff-14159/orgs","repos_url":"https://api.github.com/users/Jeff-14159/repos","events_url":"https://api.github.com/users/Jeff-14159/events{/privacy}","received_events_url":"https://api.github.com/users/Jeff-14159/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-06T23:15:26Z","updated_at":"2016-12-07T00:22:10Z","closed_at":null,"body":"I'm using setItems like so:\r\n\r\n`store.setItems(itemsToStore, null, null, function (err) {`\r\n` ` ` if (err) {`\r\n` ` ` ` `console.log('Error!!! function: lsSetItems {.....message: ', store, itemsToStore, err);`\r\n` ` `} else {`\r\n` ` ` ` `completedSuccess(true);`\r\n` ` `}`\r\n`});`\r\n\r\ni'm passing in  an object whos keys are uuids, i'm doing this for multiple tables/stores with out fail however on one store I get an error...\r\n\r\nit returns an \"object IDBTransaction\"\r\n\r\nIDBTransaction.error {\r\nname \"UnknownError\"\r\nmode \"readwrite\"\r\nREAD_ONLY \"readonly\"\r\nREAD_WRITE \"readwrite\"\r\nVERSION_CHANGE \"versionchange\"\r\n\r\n\r\n the data it a little bit large.. maybe 5 MB among 7 keys?  Before I was setting each one, one at a time so I don't think I I'm ran out of space on localstorage any ideas on how to trouble shoot this further?\r\n\r\n\r\nIE: 11.447\r\nLocalForage: 1.3.0\r\nSetItems: 1.3.1\r\n\r\nThanks,\r\nJeff\r\n"},"comment":{"url":"https://api.github.com/repos/localForage/localForage-setItems/issues/comments/265316900","html_url":"https://github.com/localForage/localForage-setItems/issues/6#issuecomment-265316900","issue_url":"https://api.github.com/repos/localForage/localForage-setItems/issues/6","id":265316900,"user":{"login":"Jeff-14159","id":8378376,"avatar_url":"https://avatars.githubusercontent.com/u/8378376?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeff-14159","html_url":"https://github.com/Jeff-14159","followers_url":"https://api.github.com/users/Jeff-14159/followers","following_url":"https://api.github.com/users/Jeff-14159/following{/other_user}","gists_url":"https://api.github.com/users/Jeff-14159/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeff-14159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeff-14159/subscriptions","organizations_url":"https://api.github.com/users/Jeff-14159/orgs","repos_url":"https://api.github.com/users/Jeff-14159/repos","events_url":"https://api.github.com/users/Jeff-14159/events{/privacy}","received_events_url":"https://api.github.com/users/Jeff-14159/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T00:22:10Z","updated_at":"2016-12-07T00:22:10Z","body":"update:  I seemed to have a workaround for this error for now by making sure to call the setItems synchronously, making sure the last one has completed before calling it again on a different store.... *sigh* a promise or callback issue???\r\n\r\nbelieve this might be a bug in the underlying localforage driver, I had the same issue when first initializing multiple stores, if I did it to fast they would error out. I had to make a custom looper function for that as well."}}
{"actor":{"display_login":"Jeff-14159"}}