[Bug 16211] New: Relax the ability to add a record if it doesn't meet the constraints of a predefined index

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16211

           Summary: Relax the ability to add a record if it doesn't meet
                    the constraints of a predefined index
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: dave.null@w3.org
        ReportedBy: israelh@microsoft.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org


There was an email thread [1] in which Jonas proposed this change and we had
agreed to the following:

>> I propose that we remove the requirement that we have today that if 
>> an indexed property exists, it has to contain a valid value. Instead, 
>> if a property doesn't contain a valid key value, we simply don't add an entry to the index.
>> This would of course apply both when inserting data into a 
>> objectStore which already has indexes, as well as when creating 
>> indexes for an object store which already contains data.

We need to add this to the spec.

Israel

[1] http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0534.html

-- 
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 Saturday, 3 March 2012 01:27:22 UTC