Closed Bug 996869 Opened 10 years ago Closed 10 years ago

Join hidden network gives error

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED FIXED
1.4 S6 (25apr)
tracking-b2g backlog

People

(Reporter: jrburke, Assigned: dlee)

References

Details

(Whiteboard: [p=1])

Attachments

(1 file)

Using this gecko:
Gecko     https://hg.mozilla.org/mozilla-central/rev/5b6e82e7bbbf
BuildID   20140415040201
Version   31.0a1
ro.build.version.incremental=324
ro.build.date=Thu Dec 19 14:04:55 CST 2013

with latest gaia master (7bca1200a016b715d106bd2e7e0889d44b3d9c22).

After a fresh flash, and reset-gaia,

* Settings app
* Wifi
* "Join hidden network".
* Enter hidden network details, then press OK

Nothing happens on screen, cannot add network.

Looking at logcat, see this error:

E/GeckoConsole(  858): Content JS WARN at app://settings.gaiamobile.org/js/wifi.js:803 in wifiDialog: Import certificate API is not ready yet!
E/GeckoConsole(  858): [JavaScript Error: "TypeError: Argument 1 of MozWifiManager.associate does not implement interface MozWifiNetwork." {file: "app://settings.gaiamobile.org/js/wifi.js" line: 765}]
I think this should related to convert idl to webidl bug. 
Dimi, may we have your comment here ?
Flags: needinfo?(dlee)
(In reply to Vincent Chang[:vchang] from comment #1)
> I think this should related to convert idl to webidl bug. 
> Dimi, may we have your comment here ?

Yes, I found the problem.
After changing idl to webidl, network object should use MozWifiNetwork object instead.
I will provide path for this bug.
Flags: needinfo?(dlee)
Assignee: nobody → dlee
Whiteboard: [p=1]
Target Milestone: --- → 1.4 S6 (25apr)
Blocks: 997032
Also create a follow up Bug 997032
Attachment #8407349 - Flags: review?(arthur.chen)
blocking-b2g: --- → backlog
Component: Gaia::Settings → Wifi
Component: Wifi → Gaia::Settings
Comment on attachment 8407349 [details] [review]
pull request to mozilla-b2g/gaia

r=me, thanks for the patch!
Attachment #8407349 - Flags: review?(arthur.chen) → review+
master: dadf0e60a6421f5b57ee9fc536c6617212805c19
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: