W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

[Bug 17538] New: [IndexedDB] Remove error clauses for invalid index keys

From: <bugzilla@jessica.w3.org>
Date: Mon, 18 Jun 2012 18:14:11 +0000
To: public-webapps@w3.org
Message-ID: <bug-17538-2927@http.www.w3.org/Bugs/Public/>

           Summary: [IndexedDB] Remove error clauses for invalid index
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: dave.null@w3.org
        ReportedBy: jsbell@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

The exception tables for IDBObjectStore's add() and put() methods include:

"The calculated key for the insertion was not a valid key. Also thrown if the
calculated key for any of the indexes which belong to this object store had a
calculated key which was not a valid key"

However, consensus was reached that if the calculated key for an index is not a
valid key then that index is simply skipped rather than failing the add()/put()
-see "steps for storing a record into an object store".

I believe the second sentence ("Also thrown if...") should be removed.

Configure bugmail: https://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 Monday, 18 June 2012 18:14:14 UTC

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