Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 887700 - [OTA] [Data Migration] [Email] Cannot load email in Inbox after update from v1.0.1 to v1.1.0 #229

Conversation

ian-liu
Copy link
Contributor

@ian-liu ian-liu commented Jul 29, 2013

After OTA updated, do an early return while the address pairs is null.

asutherland added a commit that referenced this pull request Jul 30, 2013
…email_in_Inbox_after_OTA_update

Bug 887700 - [OTA] [Data Migration] [Email] Cannot load email in Inbox after update from v1.0.1 to v1.1.0. r=asuth
@asutherland asutherland merged commit 3832afd into mozilla-b2g:master Jul 30, 2013
@jrburke
Copy link
Contributor

jrburke commented Jul 30, 2013

I am probably missing some background, but I would have liked to see a comment for this change at the least, as using == may be seen as an accidental typing mistake vs desired behavior.

If the issue was that the value could have been undefined as well as null, perhaps a more explicit check for both values. If that is not possible, a comment at the very least of "yes, this is an intentional coercion" would be useful.

I am concerned that when doing other large refactorings I may change this back to === to fix default jshint linter messages that show up in my editor.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants