Closed Bug 906377 Opened 11 years ago Closed 11 years ago

[Messages] Guard against null placeholder errors when pressing Send

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 906581

People

(Reporter: rwaldron, Assigned: rwaldron)

References

Details

(Keywords: regression)

Attachments

(1 file)

Not quite the same as #904640 or #905950, but prevents TypeErrors from occurring when placeholders have been removed before a transitionend occurs after pressing Send (the result of a call to assimiliateRecipients when user presses Send) leo+ because it's a regression.
What I meant was... "requesting" Leo+
blocking-b2g: --- → leo?
- Adds conditional guards to avoid TypeErrors when placeholders are null
Attachment #791753 - Flags: review?(felash)
please mark leo+ as dupes are leo+. Thanks !
Comment on attachment 791753 [details] [review] https://github.com/mozilla-b2g/gaia/pull/11588 Rick, do you think it's doable to do unit tests to cover this ? or is it meaningless ?
Comment on attachment 791753 [details] [review] https://github.com/mozilla-b2g/gaia/pull/11588 Just calling "visible" without children without any assert is enough for me (it shouldn't throw and that's what we want to check).
(In reply to Julien Wajsberg [:julienw] from comment #7) > Comment on attachment 791753 [details] [review] > https://github.com/mozilla-b2g/gaia/pull/11588 > > Just calling "visible" without children without any assert is enough for me > (it shouldn't throw and that's what we want to check). Sounds good, I'll get those added later today
blocking-b2g: leo? → leo+
Keywords: regression
duping, we'll do that there after all.
Status: NEW → RESOLVED
blocking-b2g: leo+ → ---
Closed: 11 years ago
Resolution: --- → DUPLICATE
Attachment #791753 - Flags: review?(felash)
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: