Closed Bug 1164805 Opened 9 years ago Closed 9 years ago

[Message]Sharing a contact to message as attachment, it is the default icon displayed for the *.vcf file attached.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected, b2g-master affected)

RESOLVED DUPLICATE of bug 1186108
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: zikui.yang, Unassigned)

Details

(Whiteboard: [v2.2-nexus-5-l])

Attachments

(4 files)

[1.Description]:
[2.2&3.0][Message]Sharing a contact from Contacts to message, the vcf file will be attached to message. In "New Message" view, it is a picture's icon displayed for the *.vcf file attached.

Attachment:picture expectbehavior.png
                   picture Actualbehavior.png
logcat:         logcat(17).txt    
Happen time: 23:27    

[2.Testing Steps]: 
1.Launch Contacts
2.Tap open a contact->tap share icon->tap messages
>>the vcf file will be shared as attachment.

[3.Expected Result]: 
2.The icon of *.vcf should be displayed correctly.(See picture expectbehavior.png)

[4.Actual Result]: 
2.It is a picture's icon displayed for the *.vcf file attached.(See picture Actualbehavior.png)

[5.Reproduction build]: 
Flame 2.2 build( affected):
Build ID               20150513162505
Gaia Revision          aac58a063e3e6acae6ba77fe4cec224fb69450bc
Gaia Date              2015-05-13 12:59:48
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/7a4f3cb5bf7b
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150513.205814
Firmware Date          Wed May 13 20:58:25 EDT 2015
Bootloader             L1TC000118D0

Flame 3.0 build( affected):
Build ID               20150513160203
Gaia Revision          338f66e6a96491d2f5854b188c6b141ceb690d97
Gaia Date              2015-05-13 14:08:45
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/1fab94ad196c
Gecko Version          41.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150513.193307
Firmware Date          Wed May 13 19:33:19 EDT 2015
Bootloader             L1TC000118D0

Nexus5 2.2 build(Affected):
Build ID               20150513002507
Gaia Revision          e048df68f6f4853b5826a8816e143d95258149de
Gaia Date              2015-05-12 19:10:26
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/0e6b4aab2b94
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150513.041202
Firmware Date          Wed May 13 04:12:17 EDT 2015
Bootloader             HHZ12f

Nexus5 3.0 build( affected):
Build ID               20150513010202
Gaia Revision          0d6c04f13fd385bda045f4e539b2a67cb5d84b1d
Gaia Date              2015-05-12 17:07:06
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/62d9b117c688
Gecko Version          41.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150513.044441
Firmware Date          Wed May 13 04:44:56 EDT 2015
Bootloader             HHZ12f


[6.Reproduction Frequency]: 
Always Recurrence,5/5

[7.TCID]: 
Free Test

[8.Note]
Launch messgaes,create a new messages and tap attach icon,select a contact as attachment, the *.vcf file displayed as expected.(See picture expectbehavior.png)
Attached image Actualbehavior.png
Attached image expectbehavior.png
Attached file logcat(17).txt
Hi Francisco, the contact blob from share activity didn't have the type information and message app didn't do further check for the empty type case. Maybe it would be better to fix from contact side that returning the correct type?
Flags: needinfo?(francisco)
Hi Steve,

you are totally right, this must be provided by contacts.

(leaving the ni to take a look to this).
Component: Gaia::SMS → Gaia::Contacts
Flags: needinfo?(francisco)
Summary: [Message]Sharing a contact to message as attachment, it is a picture's icon displayed for the *.vcf file attached. → [Message]Sharing a contact to message as attachment, it is the default icon displayed for the *.vcf file attached.
Hi folks, just tried this in 2.2 and can see the vcf icon, do we need special conditions (contacts information) to be able to reproduce this?
Keywords: qawanted
Just reproduced this in latest 2.2 Flame nightly with a contact containing first name, last name, and phone number (and nothing else). The icon when shared in messages is the colorful default icon square instead of the VCF icon.

Device: Flame 2.2
Build ID: 20150517162505
Gaia: f73891b8fcc5f34de81868640754f7cc331fa709
Gecko: 8785a53b8d6e
Version: 37.0 (2.2)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: qawanted
QA Contact: bzumwalt
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
This bug can't be repro on latest build of Flame KK v2.5&v2.6 master (512mb) and Aries KK v2.5&v2.6 by the STR in comment 0. If anyone can repro it, repen again.
Actural results: The icon of *.vcf is displayed correctly, as shown in expectbehavior.png.
See attachment: Aries_v2.5.3gp.
Occurrence rate: 0/20.

Device: Aries KK v2.6 (Unaffected)
Build ID               20151112014800
Gaia Revision          98f63d4cc530906fa51d839a10469006c257b998
Gaia Date              2015-11-12 02:03:26
Gecko Revision         https://hg.mozilla.org/integration/mozilla-
inbound/rev/a8ed7dd831d1969a5a1a8636e63bd93d6aeaf94a
Gecko Version          45.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151112.011957
Firmware Date          Thu Nov 12 01:20:05 UTC 2015
Bootloader             s1

Device: Flame KK v2.6 master 512mb(Unaffected)
Build ID               20151111150236
Gaia Revision          22f8023b112dfae83531b0a075ab9eb9a5444dfa
Gaia Date              2015-11-10 23:35:38
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/84a7cf29f4f14c9b359db2f7f19c0abd6a8e178e
Gecko Version          45.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151111.182640
Firmware Date          Wed Nov 11 18:26:52 EST 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

Device:Aries KK v2.5 (Unaffected)
Build ID               20151110094357
Gaia Revision          07baf613699fa6225359c7f04825c5caeb71d424
Gaia Date              2015-11-09 21:32:50
Gecko Revision         http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/e14287b00a514a15418dfaa89287030c588ad19d
Gecko Version          44.0a2
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151110.090331
Firmware Date          Tue Nov 10 09:03:39 UTC 2015
Bootloader             s1

Device: Flame KK v2.5 512mb (Unaffected)
Build ID               20151109004552
Gaia Revision          cf646c52bb947af28329b0a100df91d1b1f2a907
Gaia Date              2015-11-09 02:55:50
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/4eafef5b80f8985c94c4a067f130d37513e1a581
Gecko Version          44.0a2
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151109.041411
Firmware Date          Mon Nov  9 04:14:26 EST 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0
Status: NEW → RESOLVED
Closed: 9 years ago
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][MGSEI-Triage+]
Resolution: --- → WORKSFORME
yes actually this was fixed in bug 1186108
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: