Closed Bug 1097788 Opened 10 years ago Closed 10 years ago

Intermittent single_day_test.js | Views.SingleDay #onactive - TypeError: this._alldayEvents is undefined | Views.SingleDay "after each" hook - dayObserver.on.restore is not a function

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Assigned: mmedeiros)

References

Details

(Keywords: intermittent-failure)

07:03:22     INFO -  TEST-START | calendar/test/unit/views/single_day_test.js
07:03:22     INFO -  TEST-INFO | calendar/test/unit/views/single_day_test.js | log: app [calendar]  "Configure calendar with db and router."
07:03:22     INFO -  TEST-PASS | calendar/test/unit/views/single_day_test.js | Views.SingleDay #setup
07:03:22     INFO -  TEST-INFO | calendar/test/unit/views/single_day_test.js | log: app [calendar]  "Configure calendar with db and router."
07:03:22     INFO -  JavaScript error: app://calendar.gaiamobile.org/js/views/single_day.js, line 82: TypeError: this._alldayEvents is undefined
07:03:22     INFO -  TEST-PASS | calendar/test/unit/views/single_day_test.js | Views.SingleDay #onactive
07:03:23     INFO -  TEST-UNEXPECTED-FAIL | calendar/test/unit/views/single_day_test.js | Views.SingleDay #onactive - TypeError: this._alldayEvents is undefined (app://calendar.gaiamobile.org/js/views/single_day.js:82)
07:03:23     INFO -      Error: TypeError: this._alldayEvents is undefined (app://calendar.gaiamobile.org/js/views/single_day.js:82)
07:03:23     INFO -          at onerror (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:4959:10)
07:03:23     INFO -  TEST-UNEXPECTED-FAIL | calendar/test/unit/views/single_day_test.js | Views.SingleDay "after each" hook - dayObserver.on.restore is not a function
07:03:23     INFO -      TypeError: dayObserver.on.restore is not a function
07:03:23     INFO -          at (anonymous) (app://calendar.gaiamobile.org/test/unit/views/single_day_test.js:42:5)
07:03:23     INFO -          at wrapper (app://calendar.gaiamobile.org/common/test/mocha_generators.js:62:19)
07:03:23     INFO -          at run (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:3709:7)
07:03:23     INFO -          at next (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:3973:5)
07:03:23     INFO -          at (anonymous) (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:3984:5)
07:03:23     INFO -          at (anonymous) (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:4932:28)
07:03:23     INFO -  TEST-OK | calendar/test/unit/views/single_day_test.js | took 213ms
Assignee: nobody → mmedeiros
Depends on: 1088381
Target Milestone: --- → 2.1 S9 (21Nov)
See Also: → 1094740
Status: NEW → ASSIGNED
Target Milestone: 2.1 S9 (21Nov) → ---
I think this was fixed after I landed the patch for Bug 1088381 so closing it.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.