Closed Bug 1098142 Opened 10 years ago Closed 10 years ago

[Settings] Cannot enter sub-panels after entering the more information panel

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:+)

RESOLVED FIXED
tracking-b2g +

People

(Reporter: arthurcc, Assigned: arthurcc)

References

Details

Attachments

(1 file)

This issue was regressed by bug 1085290. It may require a module with an undefined path and leads to the following error:

[JavaScript Error: "TypeError: depMap is undefined" {file: "app://settings.gaiamobile.org/js/vendor/alameda.js" line: 1195}]

STR:
1. Launch settings app
2. Device Information -> More Information
3. Back to the root panel and try entering any of the panels.

Actual:
  Cannot enter the panels

Expected:
  Can enter the panels
The root cause is that it tries to get an undefined property. In the patch I fixed it and also refactored it a bit. Unit tests were included.

EJ, would you mind review the patch? Thanks.
Attachment #8522146 - Flags: review?(ejchen)
Comment on attachment 8522146 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/26107

This looks awesome ! r+ with one small nit on Github.

Thanks Arthur !
Attachment #8522146 - Flags: review?(ejchen) → review+
Thanks, EJ.

master: 1e300eac2e56d98ad51d414766d031db7d33221f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: