Closed Bug 1044204 Opened 10 years ago Closed 10 years ago

Upcoming Events fails to load after viewing my events page

Categories

(Webmaker Graveyard :: Events, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cade, Assigned: cade)

Details

(Whiteboard: [aug8])

Attachments

(1 file)

Whiteboard: [aug8]
He who spots problems fixes?
Assignee: nobody → cade
Status: NEW → ASSIGNED
I've narrowed this down to line 113 of paginate-anything.js, which hadles the events pagination. when we hit the request function for events, $scope.url is undefined for some reason.
There seems to be a race condition (albeit, a very easy to hit race condition) where the pagination directive can attempt to fetch events before the we-listing directive can set the serviceURL, so if we default the value, the problem is negated.
Attachment #8464078 - Flags: review?(gavin)
Attachment #8464078 - Flags: review?(gavin) → review+
Commit pushed to master at https://github.com/mozilla/webmaker-events-2

https://github.com/mozilla/webmaker-events-2/commit/80b88e9104de86ff130b25755948744d233d093e
Bug 1044204 - Default the serviceURL value so that pagination doesn't lose it's mind
Status: ASSIGNED → 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: