Closed
Bug 819898
Opened 12 years ago
Closed 12 years ago
[SMS] shouldn't try to send a message without a recipient
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect, P2)
Firefox OS Graveyard
Gaia::SMS
Tracking
(blocking-basecamp:+)
People
(Reporter: ttaubert, Assigned: borjasalguero)
References
Details
(Whiteboard: UX interaction)
Attachments
(1 file)
STR:
1) Open the SMS app
2) Click '+' to create a new message
3) Click the message field and type something.
4) Click 'Send'
Expected:
The user should probably see an error message saying that we need a recipient.
Actual:
The message gets sent and the throbber keeps spinning. Also the following error is in the console:
E/GeckoConsole( 1470): [JavaScript Error: "NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMMozSmsManager.send]" {file: "app://sms.gaiamobile.org/js/sms.js" line: 195}]
Updated•12 years ago
|
blocking-basecamp: ? → +
Priority: -- → P2
Target Milestone: --- → B2G C3 (12dec-1jan)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → fbsc
Assignee | ||
Comment 2•12 years ago
|
||
NOTE: If blocking-basecamp+ is set, just land it for now.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined:
Testing completed:
Risk to taking this patch (and alternatives if risky):
Attachment #690441 -
Flags: review?(francisco.jordano)
Attachment #690441 -
Flags: approval-gaia-master?(francisco.jordano)
Assignee | ||
Updated•12 years ago
|
Attachment #690441 -
Flags: approval-gaia-master?(francisco.jordano) → review?(fernando.campo)
Comment 3•12 years ago
|
||
Would advise to disable the 'send' button until content is added to both:
1) the 'To' field (the recipient), and
2) the message field
From a UX perspective error prevention is always a far superior experience than error handling.
Flags: needinfo?(aymanmaat)
Assignee | ||
Comment 4•12 years ago
|
||
Cool! Thanks for the tip. Im gonna add it to the PR. Thanks!
Updated•12 years ago
|
Attachment #690441 -
Flags: review?(francisco.jordano) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #690441 -
Flags: review?(fernando.campo)
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Resolution: FIXED → WORKSFORME
Comment 7•12 years ago
|
||
"send" button is disabled if no information entered to both:
1) the 'To' field (the recipient), and
2) the message field contact field.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•