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/>

           Summary: There is no way to get from an error event to other
           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 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:28 UTC