Closed
Bug 856991
Opened 11 years ago
Closed 11 years ago
[Buri][SMS]If there is 10010 exist in the phone number of 11 digits from one r contact, the Send SMS will abnormal
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect, P1)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
blocking-b2g | tef+ |
People
(Reporter: sync-1, Assigned: janjongboom)
References
Details
(Whiteboard: QARegressExclude)
Attachments
(3 files)
48.98 KB,
image/jpeg
|
Details | |
45 bytes,
patch
|
fcampo
:
review+
|
Details | Diff | Splinter Review |
45 bytes,
patch
|
julienw
:
review+
|
Details | Diff | Splinter Review |
AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.19.055 Firefox os v1.0.1 Mozilla build ID: 20130327153857 +++ This bug was initially created as a clone of Bug #427629 +++ Created an attachment (id=371953) issue picture [WuYing][6915] DEFECT DESCRIPTION: if there is 10010 exist in the phone number,then you sent a SMS to 10010, the receiver will show the contact which include 10010. REPRODUCING PROCEDURES: For Example 1.Save Phone number 13482110010 to Contact list 2.Enter the SMS 3.Send SMS to 10010 4.But this SMS will show 13482110010 Contact.----KO EXPECTED BEHAVIOUR: Input 10010 number in recipient,the SMS should send to 10010 ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: V114 USER IMPACT: Medium REPRODUCING RATE: 5/5 For FT PR, Please list reference mobile's behavior: ++++++++++ end of initial bug #427629 description ++++++++++ CONTACT INFO (Name,Phone number): DEFECT DESCRIPTION: REPRODUCING PROCEDURES: EXPECTED BEHAVIOUR: ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: REPRODUCING RATE: For FT PR, Please list reference mobile's behavior:
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Hello Borja Salguero, It seems that the match rules has some mistake. The short number matchs the contact which contains the number.
Comment 3•11 years ago
|
||
Hi. It's true because currently we are working with 'contains' following Gecko suggestions. We could ask to Gecko developer in order to know how to deal with it.
Flags: needinfo?(anygregor)
Comment 4•11 years ago
|
||
Yeah multiple people reported such problems. I am working on a solution now and we should fix it next week.
Flags: needinfo?(anygregor)
Updated•11 years ago
|
blocking-b2g: --- → tef?
Comment 5•11 years ago
|
||
We're worried fixing this will represent a lot of risky work. Can QA confirm that: 1) The text does end up getting sent to 10010 2) Subsequent texts in that thread are sent to 10010 3) The user is still able to send a text messages to 13482110010 If these user scenarios aren't impacted, this is not a blocker. Even still, this may not be a blocker (given risk involved and small user impact).
Keywords: qawanted
I'm a little bit at a loss how we'd test this on our end. 10010 appears to be very specific to China's Unicom system. Is this something someone with a compatible phone system can help with?
Incidentally, as a blind guess the problem may be that we're attempting to match numbers w/o area code being necessary. On iOS I believe if I call 555-1212, it'll automatically realize I mean 408-555-1212 and display the matching contact appropriately. We may just not have the regex formed in a way that it's specific to area/country codes, particularly if it attempts to be non-specific to locale.
Updated•11 years ago
|
blocking-b2g: tef? → tef+
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → janjongboom
Comment 8•11 years ago
|
||
(In reply to Geo Mealer [:geo] from comment #7) > Incidentally, as a blind guess the problem may be that we're attempting to > match numbers w/o area code being necessary. > > On iOS I believe if I call 555-1212, it'll automatically realize I mean > 408-555-1212 and display the matching contact appropriately. We may just not > have the regex formed in a way that it's specific to area/country codes, > particularly if it attempts to be non-specific to locale. Per Triage, this isn't only affecting 5 digit numbers. This bug is really about entering in any amount of short numbers in the app, and sending the SMS would end up sending to another number that matched the numbers from your contacts (ie. send SMS to short number "609", but it ends up going to a saved contact with "888-333-9609". Removing qawanted, since i saw it reproduced by a few people in the triage room. (both dcoloma and Emily)
Keywords: qawanted
Assignee | ||
Comment 9•11 years ago
|
||
This patch introduces findByEqualString that does an equals op against mozContacts and replaces all calls (except the one in the find contact screen) by this call. I've added test cases.
Attachment #738431 -
Flags: review?(francisco.jordano)
Assignee | ||
Updated•11 years ago
|
Whiteboard: [status: waiting for review]
Comment 10•11 years ago
|
||
Comment on attachment 738431 [details] [diff] [review] Patch Did a quick check, nothing weird on the code, but prefer Fernando do rplus after rechecking. Thanks Jan!!
Attachment #738431 -
Flags: review?(francisco.jordano) → review?(fernando.campo)
Comment 11•11 years ago
|
||
Copied from the PR: This doesn't match any existing platform's behaviour; both iOS Contacts and Android People lookup phone numbers from the beginning.
Comment 12•11 years ago
|
||
Strike the previous comment, I misunderstood which Contacts lookup behaviour was being modified.
Assignee | ||
Comment 13•11 years ago
|
||
Created bug 863198 to keep track of refactoring the Contacts module in SMS.
Assignee | ||
Comment 14•11 years ago
|
||
Ping fernando.campo for re-r?.
Comment 15•11 years ago
|
||
Comment on attachment 738431 [details] [diff] [review] Patch Thanks for the quick fix and the followup, patch looks nice, tested and works fine.
Attachment #738431 -
Flags: review?(fernando.campo) → review+
Assignee | ||
Comment 16•11 years ago
|
||
Landed in https://github.com/mozilla-b2g/gaia/commit/51931fee784c0a9e81fa5afc525007e8ad9f2340
Status: NEW → RESOLVED
Closed: 11 years ago
status-b2g18-v1.0.1:
--- → affected
Resolution: --- → FIXED
Updated•11 years ago
|
Whiteboard: [status: waiting for review]
Comment 17•11 years ago
|
||
Jan, I'm quite sure this won't apply cleanly on v1.0.1, would you please prepare a specific PR for 1.0.1 ?
Flags: needinfo?(janjongboom)
Comment 18•11 years ago
|
||
Jan, we need you here, please ;)
Assignee | ||
Comment 19•11 years ago
|
||
Oops, didn't read this. So you need a PR against the v1.0.1 branch on Gaia?
Flags: needinfo?(janjongboom) → needinfo?(felash)
Assignee | ||
Comment 20•11 years ago
|
||
Here's a patch that merges against v1.0.1
Attachment #741772 -
Flags: review?(fernando.campo)
Comment 21•11 years ago
|
||
Comment on attachment 741772 [details] [diff] [review] Patch for 1.0.1 stealing
Attachment #741772 -
Flags: review?(fernando.campo) → review?(felash)
Flags: needinfo?(felash)
Comment 22•11 years ago
|
||
Comment on attachment 741772 [details] [diff] [review] Patch for 1.0.1 r=me I'm sure we'll run into problems with internationalized/regional numbers too but well, let's fix this.
Attachment #741772 -
Flags: review?(felash) → review+
Updated•11 years ago
|
status-b2g18:
--- → affected
Comment 23•11 years ago
|
||
James, could you please uplift this ? I'm afraid to run into conflicts if we delay uplifting this too much.
Flags: needinfo?(jlal)
Comment 24•11 years ago
|
||
v1-train: b1e5cee77ff87bde14cfa6a4b04f12cb68078456 v1.0.1: 68508bf82925aa389eb4d45d5c9ed5f76b78d81d
Comment 25•11 years ago
|
||
This issue doesn't reproduce on Inari and Leo devices Environmental Variables: Unagi Build ID: 20130430070201 Kernel Date: Feb 21 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/010498e599a7 Gaia: de0f1fc6c58616b8a33fca482f1f8684d4e74e9e Environmental Variables: Unagi Build ID: 20130426070204 Kernel Date: Mar 15 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/6c2493de1441 Gaia: c9046a7acef33328977840176ff5574720d2c74c
Comment 26•11 years ago
|
||
Unable to test on the Buri Device. Marking as QARegressExclude.
Whiteboard: QARegressExclude
You need to log in
before you can comment on or make changes to this bug.
Description
•