Closed
Bug 911075
Opened 12 years ago
Closed 11 years ago
[Contacts] Nothing happens if the user try export contacts as vcard while the sd card is in use
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(blocking-b2g:koi+, b2g-v1.2 fixed)
People
(Reporter: rafael.marquez, Assigned: arcturus)
References
Details
(Whiteboard: [u=commsapps-user c=contacts p=0])
Attachments
(3 files)
*Procedure
1. Connect the device to the computer as USB storage
2. Open contacts app and enter in export to memory card
3. Select a contact and click on export contacts.
*Expected Result
An error "SD card in use" is displayed
*Actual Result
A screen with the icon "loading" appears but never ends
Device: unagi
Branch: master
Gecko: b649729
Gaia: 12731a6
Reporter | ||
Updated•12 years ago
|
blocking-b2g: --- → koi?
Whiteboard: [u=commsapps-user c=contacts p=0]
Assignee | ||
Comment 1•11 years ago
|
||
Thanks, we need to check that we are not using first the sdcard as a remote storage.
@Ayman, when we are connected via usb cable and using the sdcard as a remote storage we cannot access to it, what do you prefer, should we disable the export to media card meanwhile, or should we display a message?
Flags: needinfo?(aymanmaat)
Comment 2•11 years ago
|
||
(In reply to Francisco Jordano [:arcturus] from comment #1)
> Thanks, we need to check that we are not using first the sdcard as a remote
> storage.
>
> @Ayman, when we are connected via usb cable and using the sdcard as a remote
> storage we cannot access to it, what do you prefer, should we disable the
> export to media card meanwhile, or should we display a message?
Francisco, is it possible to action the following path:
**PATH**
prerequisite 0.1) phone has local contacts in its contact list
prerequisite 0.2) phone has USB storage turned on
prerequisite 0.3) phone is connected to computer as USB storage
1) open contacts app
2) select settings
3) select export contacts
**EXPECTED**
Memory card CTA will be disabled and not selectable
If their prerequisite conditions to be enabled are met all other available CTAs will be enabled.
ni? to Francisco to assess viability
Flags: needinfo?(aymanmaat) → needinfo?(francisco.jordano)
Assignee | ||
Comment 3•11 years ago
|
||
Hi Ayman,
good point.
Assigning to myself to work on it. Also, should we display it disabled or enabled and while trying to export (not allowing it) displaying a message about the phone being used as massive storage?
Flags: needinfo?(francisco.jordano) → needinfo?(aymanmaat)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → francisco.jordano
Assignee | ||
Comment 4•11 years ago
|
||
We will need to listen to the usb mass storage option enabled, that prevents any interaction with the sdcard.
This error will be happening in the import as well, so will fix in both.
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #802338 -
Flags: review?(jmcf)
Comment 6•11 years ago
|
||
Also when trying to export a contact via BT with the device connected (SD card in use) after tapping on export, nothing happens. It seems that the export fails but no clue about the reason.
Should I open a new bug or as it is related to this, can be tracked with this?
Reporter | ||
Updated•11 years ago
|
Summary: [Contacts] Nothing happens if the user try export contacts as vcard while de sd card is in use → [Contacts] Nothing happens if the user try export contacts as vcard while the sd card is in use
Assignee | ||
Comment 7•11 years ago
|
||
Hi Jose,
just rebased and added the changes that you suggested.
Thanks a lot!
Flags: needinfo?(aymanmaat) → needinfo?(jmcf)
Comment 8•11 years ago
|
||
Comment on attachment 802338 [details]
Pointer to PR 12077
the patch is totally correct. Please check some nits.
Just to note that in my Gecko build UMS disablement was not working properly. The setting changed but the UMS remained enabled. That seems to be a Gecko issue.
thanks Francisco!
Attachment #802338 -
Flags: review?(jmcf) → review+
Updated•11 years ago
|
Flags: needinfo?(jmcf)
Assignee | ||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
blocking-b2g: koi? → koi+
status-b2g-v1.2:
--- → affected
Comment 10•11 years ago
|
||
Checked with 09/29 v1.2 build:
Gecko-e73e078
Gaia-1992915
The option to export to sd Card is disabled when in Settings, 'Enable USD storage' is enabled when the device is and when is not connected to PC.
Attaching screenshot of the message shown. ni? Ayman to confirm whether that would be ok
Flags: needinfo?(aymanmaat)
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Uplifted fc222c4fb720d97ce3933e3f8891498c9c3f49b3 to:
v1.2: a8dbf4e70b5605b8f6e969064436c2ffd4e98b26
Comment 13•11 years ago
|
||
clearing ni? to me as marked fixed
Updated•11 years ago
|
Flags: needinfo?(aymanmaat)
You need to log in
before you can comment on or make changes to this bug.
Description
•