Closed Bug 846293 Opened 12 years ago Closed 12 years ago

[SMS] Class 0 messages should not be shown in the UI

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g18+)

RESOLVED WORKSFORME
1.1 QE1 (5may)
Tracking Status
b2g18 + ---

People

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

References

Details

(Whiteboard: [TD-8935])

Attachments

(1 file, 2 obsolete files)

1. Title : Class 0 (Flash) SMS is showing in the threaded-view with out the content(message/text). 2. Precondition : SMS should be working 3. Tester's Action : Recieve class 0(Flash) sms - click on the notification 4. Detailed Symptom (ENG.) : When we click on notification showing the message as an alert and the message is updating in the thread-view with out content. 5. Expected : Flash sms should not be updated in the message-view/threaded-view. 6.Reproducibility: Y 1)Frequency Rate : 100% 7.Gaia Revision: 6916e18d1f72936e892543cf4a104a7d457f78ad"
Assignee: nobody → chulee
I don't think this is a MozRIL problem because I do see text body of a class-0 message in threaded-view. Anshul, could you double check this?
Assignee: chulee → anshulj
Flags: needinfo?(anshulj)
As per our analysis in sms.js when delete operation is successful in case of normal message thread executeDeletion() is called. In this function renderThreads() is called for updating threads.But in case of class-0 message message is deleted and then notification is shown. I am unable to see any code, which refreshes the threads. I mean there is no call for renderThreads() function. This can be a reason for no thread refresh when class-0 message is arrived. Any comments?
Alhad, please have a look at this issue.
Flags: needinfo?(anshulj) → needinfo?(alhadp)
I think what the test is saying is that Class 0 SMS messages should NOT be updated in the UI conversation view when you click on the notification. Neither QCRIL nor MozRIL stores the SMS in the database, but both generate a notification to Gaia. And the way Gaia SMS app shows messages is in the message conversation view. So its most probably working as designed. If the requirement for Class 0 is that it should only be shown in the notifications bar but not in the Gaia SMS app, the Gaia app should be updated to do that, there's nothing that can be done in Gecko for either RIL.
Flags: needinfo?(alhadp)
Attached file Pointer to pull request (obsolete) (deleted) —
Attachment #720622 - Flags: review?(fbsc)
Assignee: anshulj → leo.bugzilla.gaia
Hi Borja Salguero [:borjasalguero], Please review the patch for class-0 message and give the comments for the same. Thanks, leo
Flags: needinfo?(fbsc)
Summary: [SMS] Class 0 (Flash) SMS is showing in the threaded-view with out the content. → [SMS] Class 0 messages should not be shown in the UI
Attached file Pointer to pull request (obsolete) (deleted) —
Added the change in message_manager.js
Attachment #720622 - Attachment is obsolete: true
Attachment #720622 - Flags: review?(fbsc)
Attachment #721106 - Flags: review?(fbsc)
Hi Borja Salguero [:borjasalguero], Thanks for the comments. Checked and updated the patch with changes. Thanks, leo
Should this change be marked as TEF+?
blocking-b2g: --- → tef?
blocking-b2g: tef? → leo?
Not a blocker for Mozilla/chipset for v1.0.1, so this wouldn't be a blocker for v1.1 either. If a carrier/OEM disagrees, please renominate for blocking.
blocking-b2g: leo? → -
Hi Borja Salguero [:borjasalguero], Solved the Linting error. Please review it once and let us know any modifications are needed. Thanks, Leo.
Please review the patch.
Attached file Pointer to pull request (deleted) —
Attachment #721106 - Attachment is obsolete: true
Attachment #721106 - Flags: review?(fbsc)
Attachment #730058 - Flags: review?(fbsc)
Hi Borja Salguero, Reuploaded with new pull request and resolved the linting errors. Please review the new pull request and give your comments. Thanks, Leo
blocking-b2g: - → leo?
blocking-b2g: leo? → ---
blocking-b2g: --- → leo?
leo+ as it blocks certifications.
blocking-b2g: leo? → leo+
I will test it today. Sorry for the delay, but this issue it's quite complicated to test!
Flags: needinfo?(fbsc)
Whiteboard: [TD-8935]
Target Milestone: --- → Leo QE1 (5may)
I think there are two problems should be solved: 1. Class-0 message should come out on the screen promptly without any tapping of the notification. But now you have to tap the notification to see a class-0 message. 2. Class-0 message should not display in the thread list UI anytime and anywhere. However, it display in the thread list UI in sms application.
This probably will get solved when bug 858908 lands today, so stay tuned :)
I'd say it's solved now, but if someone else could try would be awesome
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(leo.bugzilla.gaia)
Resolution: --- → WORKSFORME
@fcampo Hi, I have tried testing with the master code but the master code has some problems. Notification is not showing when we receive a new sms in master code. On which code u want me to test? Thanks,
Flags: needinfo?(leo.bugzilla.gaia)
(In reply to leo.bugzilla.gaia from comment #22) > @fcampo > > Hi, > > I have tried testing with the master code but the master code has some > problems. > Notification is not showing when we receive a new sms in master code. > > On which code u want me to test? > > Thanks, code was commited on master (https://github.com/mozilla-b2g/gaia/commit/444b622a5c19229517a9a813ad4d6711bb130382), so master should be the one to test. The changes made on that patch would show a notification if we receive a normal sms, but NOT showing a notification if we receive a 0-type sms. That would be showing an alert to the user, and the message shouldn't be painted in sms app under any circumstance. If you test again and this is still wrong, please let me know to open a regression Thanks
Bug 858908 is now fixed on all branches so you should be able to verify this on v1-train. Leo, can you test with a current build and let us know the result?
Flags: needinfo?(leo.bugzilla.gaia)
Hi, @doliver I have checked with current master code. There are still regression issues on master code. please check the Bug 862298 for the regression issues. No notification on receiving new sms.Because of this unable to test the class-0. Thanks, Leo
Flags: needinfo?(leo.bugzilla.gaia)
Leo, now that bug 862298 is closed and Bug 858908 is fixed on v1-train, can you check this one again to verify the fix?
Flags: needinfo?(leo.bugzilla.gaia)
Hi Dylan, I have tested this scenario in v1-train. It's working fine. Thanks, Leo
Flags: needinfo?(leo.bugzilla.gaia)
I have tested this pr. It's working.
blocking-b2g: leo+ → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: