Page MenuHomePhabricator

[betalabs] Add image - Uncaught TypeError: Cannot read properties of null (reading 'getSuggestionLogMetadata') upon publishing
Closed, ResolvedPublic

Description

  1. Go to Add image article and click 'yes' on the image.
  2. Click 'Publish' - the following error appears:
Uncaught TypeError: Cannot read properties of null (reading 'getSuggestionLogMetadata')
at RecommendedImageToolbarDialog.suggestionLogMetadata
at RecommendedImageToolbarDialog.<anonymous>

Event Timeline

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

Change 737897 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] Check if article target is set before handling caption exit

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

Change 737897 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Check taskState before handling caption exit

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

Checked betalabs and wmf.9 - the error is not present.