User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b12) Gecko/20100101 Firefox/4.0b12
When you create an objectStore with multiple indexes and you try to add data, which has more than one property fitting to indexes, it fails. For better explanation have a look at the testcase.
Steps to Reproduce:
1. Create objectStore with multiple indexes
2. Try to add data, like you can see in the testcase
Got an error-event with errorCode = 4
Should get a success-event
Created attachment 516228 [details]
testcase to reproduce the bug
The testcase produces the reported error using Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Created attachment 518794 [details] [diff] [review]
Sigh, this edge case was magically untouched by our tests.
A inconvenient workaround is to not use autoIncrement object stores for the time being.
Comment on attachment 518794 [details] [diff] [review]
Requesting blocking2.0, but I only want this for 2.0.1, not 2.0.
Please land on mozilla-central and releases/mozilla-2.0
Also, I want this on mozilla-aurora so that we don't regress from Macaw -> FF 5. This is verbal approval because we don't have the flags set up.