Closed Bug 876573 Opened 11 years ago Closed 11 years ago

[keyboard] "Warning : Exception is raised when empty string is passed to keyboard (V1 - Train)

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

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

Details

Title:  "Warning : Exception is raised when empty string is passed to keyboard (V1 - Train)
2.Precondition : Settings > keyboard > word Suggestion ON 
3.Action:1. Message > New Message > The cursor at "To" field

Log Result:

05-27 15:48:12.600: E/GeckoConsole(147): [JavaScript Error: "TypeError: word[0] is undefined" {file: "app://keyboard.gaiamobile.org/js/imes/latin/latin.js" line: 288}]
4. Detailed Symptom (ENG.) : When new meesage thread is opened and the cursor is displayed at "To" field, the empty string is passed to word suggestion
5. GAIA version : a6d5dc7e091409f442ca54e147c2b912dd688ef7 [V1-TRAIN]
6. Expected : Empty string should not be passed to word suggestion to prevent exception.
7.Reproducibility: Y
1)Frequency Rate : 100%
8.Comparison Results : 
1)Model Comparing : 
9. Attached files: 
1)Log : 
2)Test Contents : 
3)Video file :
Assignee: nobody → brendan
Hello Leo, 

I just tested this bug and I was unable to reproduce the error. Thanks to your error log I was able to track down the original error and investigate what changed. It appears bug 851565 fix this error when it was uplifted to (V1 - Train).

Leo could you confirm you can no longer reproduce this issue?




Additional Info:

This bug is discussed in the comments of 851565
https://bugzilla.mozilla.org/show_bug.cgi?id=851565#c20

The commit that uplifted the 851565 bugfix to v1-train
https://github.com/mozilla-b2g/gaia/commit/ee64a66f3cf0ab1fbdbc203ae67434ab96a606a0
Status: NEW → ASSIGNED
Flags: needinfo?(leo.bugzilla.gaia)
Hello Brendan,

I checked the logs and its no longer reproducible after patch for 851565 is uplifted in 
V1-train.

Thanks for looking into the issue and your effort.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(leo.bugzilla.gaia)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.