Closed Bug 784075 Opened 13 years ago Closed 13 years ago

Contacts API: DB upgrade error

Categories

(Core :: DOM: Device Interfaces, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18
blocking-basecamp +

People

(Reporter: gwagner, Assigned: gwagner)

References

Details

Attachments

(1 file)

There might be some error in the recently added upgrade schema code: E/GeckoConsole( 313): [JavaScript Error: "[Exception... "'TypeError: cursor.value.properties.impp is null' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "native frame :: :: :: line 0" data: no]"] E/GeckoConsole( 313): Content JS ERROR at app://contacts.gaiamobile.org/js/contacts.js:914 in onerror: Error saving contact
blocking-basecamp: --- → ?
Blocks: 782136
Gregor, will this only affect current testers?
(In reply to Andrew Overholt [:overholt] from comment #1) > Gregor, will this only affect current testers? Yes, but it is still scary to have some DB upgrade code in there that might be wrong.
(In reply to Gregor Wagner [:gwagner] from comment #2) > (In reply to Andrew Overholt [:overholt] from comment #1) > > Gregor, will this only affect current testers? > > Yes, but it is still scary to have some DB upgrade code in there that might > be wrong. I agree, but is it scary enough that we'd hold the release until we fixed it?
(In reply to Andrew Overholt [:overholt] from comment #3) > (In reply to Gregor Wagner [:gwagner] from comment #2) > > (In reply to Andrew Overholt [:overholt] from comment #1) > > > Gregor, will this only affect current testers? > > > > Yes, but it is still scary to have some DB upgrade code in there that might > > be wrong. > > I agree, but is it scary enough that we'd hold the release until we fixed it? I would say yes. If we are in production and just copy and paste existing code we can loose all contacts of a phone.
blocking-basecamp: ? → +
Attached patch patchSplinter Review
Attachment #657273 - Flags: review?(bent.mozilla)
Attachment #657273 - Flags: review?(bent.mozilla) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: