W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: [Bug 11164] New: There is no way to get from an error event to other objectStores

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 29 Oct 2010 09:59:29 -0700
Message-ID: <AANLkTikWUdDRqnXeNom8DUScLjGKSu9rdd2jL4wHfJsG@mail.gmail.com>
To: Shawn Wilsher <sdwilsh@mozilla.com>
Cc: public-webapps@w3.org
On Fri, Oct 29, 2010 at 8:52 AM, Shawn Wilsher <sdwilsh@mozilla.com> wrote:
> On 10/28/2010 10:44 PM, bugzilla@jessica.w3.org wrote:
>>
>> If inserting data into an objectStore fails, and an error event is
>> dispatched,
>> it is possible to get to the objectStore where the insertion failed, but
>> from
>> there you can't get to the transaction and thus not to the other
>> objectStores.
>
> Hmm, what's the use case for this?

For example wanting to handle a insertion failure due to key collision
by inserting the record in another objectStore.

/ Jonas
Received on Friday, 29 October 2010 17:00:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:41 GMT