db icon indicating copy to clipboard operation
db copied to clipboard

iOS - quota exceeded callback not fired

Open jhruby opened this issue 12 years ago • 5 comments

If user does not allow to increase quota, there is no error callback called on setItem.

jhruby avatar Jun 12 '13 22:06 jhruby

which device/browser are we talking about? is it all of them or WebSQL only? (or IndexedDB only)

WebReflection avatar Jun 12 '13 23:06 WebReflection

WebSQL on Safari (on iPhone/iPad/Mac OS X)

jhruby avatar Jun 13 '13 19:06 jhruby

iOS version ? (so I can test properly ... but yeah, something looks broken there in such case)

WebReflection avatar Jun 13 '13 19:06 WebReflection

iOS 5

jhruby avatar Jun 13 '13 19:06 jhruby

OK, the errorback is always invoked, unless you do some operation without passing it.

Can I ask you to show me an example that fails ? Or can you at least tell me how you update/save/set the record that fails? this is because if you specify a callback at the beginning for the error, this won't be used later on but only during initialization. If this is the case, pass the same callback until I change code so that by default, every other call will use the initial callback for the error, thanks.

WebReflection avatar Jun 14 '13 22:06 WebReflection