Page MenuHomePhabricator

[betalabs] Newcomer tasks: se-card-end-of-queue displays Uncaught TypeError: this.currentCard.getTaskType is not a function
Closed, ResolvedPublic

Description

On betalabs se-card-end-of-queue card displays the following error in the Console:

Uncaught TypeError: this.currentCard.getTaskType is not a function
    at SuggestedEditsModule.setupEditTypeTracking 
    at SuggestedEditsModule.updateCardElement
    at SuggestedEditsModule.showCard 
    at SuggestedEditsModule.onNextCard
    at SuggestedEditsPreviousNextWidget.OO.EventEmitter.emit 
    at SuggestedEditsPreviousNextWidget.OO.ui.mixin.ButtonElement.onClick 
    at HTMLAnchorElement.dispatch 
    at HTMLAnchorElement.elemData.handle

Note: the issue is not present in production.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 575663 had a related patch set uploaded (by Catrope; owner: Catrope):
[mediawiki/extensions/GrowthExperiments@master] SuggestedEdits: Fix JS error when displaying end of queue card

https://gerrit.wikimedia.org/r/575663

Change 575663 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] SuggestedEdits: Fix JS error when displaying end of queue card

https://gerrit.wikimedia.org/r/575663

Aklapper renamed this task from [betalabs] Newcomer tasks: se-card-end-of-queue dispalys Uncaught TypeError: this.currentCard.getTaskType is not a function to [betalabs] Newcomer tasks: se-card-end-of-queue displays Uncaught TypeError: this.currentCard.getTaskType is not a function.Feb 29 2020, 6:19 PM