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

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 UTC