This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16211 - Relax the ability to add a record if it doesn't meet the constraints of a predefined index
Summary: Relax the ability to add a record if it doesn't meet the constraints of a pre...
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Indexed Database API (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2012-03-03 01:27 UTC by Israel Hilerio [MSFT]
Modified: 2012-03-07 02:01 UTC (History)
4 users (show)

See Also:


Description Israel Hilerio [MSFT] 2012-03-03 01:27:18 UTC
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.


Comment 1 Jonas Sicking (Not reading bugmail) 2012-03-07 02:01:55 UTC
This was fixed in the following checkin