Page MenuHomePhabricator

PHP Notice: Undefined index: newrevid
Closed, ResolvedPublicBUG REPORT

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Notice: Undefined index: newrevid
exception.trace
from /srv/mediawiki/php-1.39.0-wmf.15/extensions/ContentTranslation/includes/ActionApi/ApiSectionTranslationPublish.php(191)
#0 /srv/mediawiki/php-1.39.0-wmf.15/extensions/ContentTranslation/includes/ActionApi/ApiSectionTranslationPublish.php(191): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.39.0-wmf.15/extensions/ContentTranslation/includes/ActionApi/ApiSectionTranslationPublish.php(151): ContentTranslation\ActionApi\ApiSectionTranslationPublish->publish()
#2 /srv/mediawiki/php-1.39.0-wmf.15/includes/api/ApiMain.php(1901): ContentTranslation\ActionApi\ApiSectionTranslationPublish->execute()
#3 /srv/mediawiki/php-1.39.0-wmf.15/includes/api/ApiMain.php(875): ApiMain->executeAction()
#4 /srv/mediawiki/php-1.39.0-wmf.15/includes/api/ApiMain.php(846): ApiMain->executeActionWithErrorHandling()
#5 /srv/mediawiki/php-1.39.0-wmf.15/api.php(90): ApiMain->execute()
#6 /srv/mediawiki/php-1.39.0-wmf.15/api.php(45): wfApiMain()
#7 /srv/mediawiki/w/api.php(3): require(string)
#8 {main}
Impact
  • Unknown
Notes
  • Happend once so far in last 24 hours.

Event Timeline

Passing mention that this appears to have been going on for a little while
{F35246875, size=full}

ngkountas triaged this task as Medium priority.
ngkountas edited projects, added SectionTranslation; removed ContentTranslation.

Change 808798 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] SX publish api action: Add relevant tags only when newrevid is set

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

Change 808798 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX publish api action: Add relevant tags only when newrevid is set

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

went through some SX translations and unable to produce this after the fix

Marking as done