Closed Bug 905950 Opened 11 years ago Closed 11 years ago

[Messages] Recipient assimilation should only occur when composing a new message

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(blocking-b2g:leo+, b2g18 verified, b2g-v1.1hd fixed)

RESOLVED FIXED
1.1 QE6
blocking-b2g leo+
Tracking Status
b2g18 --- verified
b2g-v1.1hd --- fixed

People

(Reporter: leo.bugzilla.gaia, Assigned: rwaldron)

Details

(Whiteboard: [LeoVB+])

Attachments

(1 file)

1. Title: Unable to send a meesage after sending with multiple recipients by dragging down the 'to' field
2. Precondition: Save some contacts 
3. Tester's Action:  1)Open SMS application
                     2) Add 2~3 recipients in the 'to' field
                     3) Add some text in message field
                     4) Drag down the 'to' field 
                     5)send the message
                     6) Open any previous thread -> add text 
                     7)click on send button -> observe the scenario 
4. Detailed Symptom (ENG.) : The send button is not working and unable to send any message
5. Expected:  The send button should work properly and the user should be able to send a message
6. Reproducibility: Y
1) Frequency Rate : 100%
7. Gaia Master/v1-train: Reproduced on v1-train
8. Gaia Revision:d65666d865b2b1ae686744be7e30c3d737db80a7
9. Personal email id: sasikala.paruchuri8@gmail.com
blocking-b2g: --- → leo+
Target Milestone: --- → 1.1 QE6
The following error is shown after pressing send button
08-16 14:14:09.441: E/GeckoConsole(512): [JavaScript Error: "TypeError: node is null" {file: "app://sms.gaiamobile.org/js/thread_ui.js" line: 385}]

Note:There is no problem if we send a message witout dragging the to filed
steve, can you check this bug?
Flags: needinfo?(schung)
Note:
This issue is happening if we try to send a message to the same numbers which we used while sending a message to multiple recipients
Corey, do you have anyone to check this while steve is on PTO?

I can reproduce this on other devices too.
Flags: needinfo?(gnarf37)
I don't get it, the commit you give is not for Gaia v1-train, but Gaia master: https://github.com/mozilla-b2g/gaia/commit/d65666d865b2b1ae686744be7e30c3d737db80a7

The v1-train branch is at https://github.com/mozilla-b2g/gaia/commits/v1-train
The master commit you point at is from bug 902500. So that might be a regression, but this commit is only on top of master, it has not been uplifted.
(In reply to Wayne Chang [:wchang] from comment #4)
> Corey, do you have anyone to check this while steve is on PTO?
> 
> I can reproduce this on other devices too.

on gaia commit c9ad2187751a8c312d58c2144afe372e9e0b2694
Assignee: nobody → waldron.rick
I'll address this immediately
(In reply to Leo from comment #0)
> 1. Title: Unable to send a meesage after sending with multiple recipients by
> dragging down the 'to' field
> 2. Precondition: Save some contacts 
> 3. Tester's Action:  1)Open SMS application
>                      2) Add 2~3 recipients in the 'to' field
>                      3) Add some text in message field
>                      4) Drag down the 'to' field 
>                      5)send the message
>                      6) Open any previous thread -> add text 
>                      7)click on send button -> observe the scenario 
> 4. Detailed Symptom (ENG.) : The send button is not working and unable to
> send any message
> 5. Expected:  The send button should work properly and the user should be
> able to send a message
> 6. Reproducibility: Y
> 1) Frequency Rate : 100%
> 7. Gaia Master/v1-train: Reproduced on v1-train
> 8. Gaia Revision:d65666d865b2b1ae686744be7e30c3d737db80a7
> 9. Personal email id: sasikala.paruchuri8@gmail.com

Confirmed
Summary: [Messages] Unable to send a meesage after sending with multiple recipients by dragging down the 'to' field → [Messages] Recipient assimilation should only occur when composing a new message
- Restrict recipient assimilation:
    - Only when in #new view
    - Only when there is a placeholder to inspect
Attachment #791380 - Flags: review?(gnarf)
Flags: needinfo?(schung)
Flags: needinfo?(gnarf37)
Comment on attachment 791380 [details]
https://github.com/mozilla-b2g/gaia/pull/11580

r=me - Simple change, so long as the sms part of travis tests passes this LGTM
Attachment #791380 - Flags: review?(gnarf) → review+
Thanks for the quick turn around Rick.

Flagging Tim to uplift to 1.1hd too.
Flags: needinfo?(timdream)
with the correct flag it will get noticed ;)
v1.1.0hd: d0ea3d0008998f730039c51a5d216abb1fa1e6e9
Whiteboard: [LeoVB+]
Flags: needinfo?(timdream)
Issue no longer occers on Leo Device. 
Build ID: 20130827041201
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/328b3b8158ee
Gaia: 4b2f1a103d046c92d201e8fcfb1ae224f59e7cf1
Platform Version: 18.1
while opening  previous thread on SMS the send button works as expected.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: