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

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 29 Oct 2010 05:44:01 +0000
To: public-webapps@w3.org
Message-ID: <bug-11164-2927@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11164

           Summary: There is no way to get from an error event to other
                    objectStores
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: nikunj.mehta@oracle.com
        ReportedBy: jonas@sicking.cc
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


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.

We should either add .transaction to error events (possibly by mucking with the
inheritance chain for IDBTransactionEvent), or by adding .transaction to
IDBObjectStore. Possibly we should do both.

Similarly, we might want to add .objectStore on IDBIndex.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 29 October 2010 05:44:05 GMT

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