Page MenuHomePhabricator

RT-testing crashers: DOMException: Not Found Error
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   DOMException: Not Found Error
exception.trace
from /srv/parsoid-testing/src/Utils/DOMUtils.php(83)
#0 /srv/parsoid-testing/src/Utils/DOMUtils.php(83): DOMNode->insertBefore(DOMText, DOMElement)
#1 /srv/parsoid-testing/src/Wt2Html/PP/Handlers/TableFixups.php(211): Wikimedia\Parsoid\Utils\DOMUtils::migrateChildren(DOMElement, DOMElement, DOMElement)
#2 /srv/parsoid-testing/src/Wt2Html/PP/Handlers/TableFixups.php(412): Wikimedia\Parsoid\Wt2Html\PP\Handlers\TableFixups->hoistTransclusionInfo(Wikimedia\Parsoid\Wt2Html\PageConfigFrame, array, DOMElement)
#3 /srv/parsoid-testing/src/Wt2Html/PP/Handlers/TableFixups.php(592): Wikimedia\Parsoid\Wt2Html\PP\Handlers\TableFixups->reparseTemplatedAttributes(Wikimedia\Parsoid\Wt2Html\PageConfigFrame, DOMElement, NULL)
#4 /srv/parsoid-testing/src/Wt2Html/DOMPostProcessor.php(381): Wikimedia\Parsoid\Wt2Html\PP\Handlers\TableFixups->handleTableCellTemplates(DOMElement, Wikimedia\Parsoid\Wt2Html\PageConfigFrame)
#5 [internal function]: Wikimedia\Parsoid\Wt2Html\DOMPostProcessor->Wikimedia\Parsoid\Wt2Html\{closure}(DOMElement, Wikimedia\Parsoid\Config\Env, array, boolean, NULL)
#6 /srv/parsoid-testing/src/Utils/DOMTraverser.php(80): call_user_func(Closure, DOMElement, Wikimedia\Parsoid\Config\Env, array, boolean, NULL)
#7 /srv/parsoid-testing/src/Utils/DOMTraverser.php(152): Wikimedia\Parsoid\Utils\DOMTraverser->callHandlers(DOMElement, Wikimedia\Parsoid\Config\Env, array, boolean, NULL)
#8 /srv/parsoid-testing/src/Utils/DOMTraverser.php(167): Wikimedia\Parsoid\Utils\DOMTraverser->traverse(Wikimedia\Parsoid\Config\Env, DOMElement, array, boolean, NULL)
#9 /srv/parsoid-testing/src/Utils/DOMTraverser.php(167): Wikimedia\Parsoid\Utils\DOMTraverser->traverse(Wikimedia\Parsoid\Config\Env, DOMElement, array, boolean, NULL)
#10 /srv/parsoid-testing/src/Utils/DOMTraverser.php(167): Wikimedia\Parsoid\Utils\DOMTraverser->traverse(Wikimedia\Parsoid\Config\Env, DOMElement, array, boolean, NULL)
#11 /srv/parsoid-testing/src/Utils/DOMTraverser.php(167): Wikimedia\Parsoid\Utils\DOMTraverser->traverse(Wikimedia\Parsoid\Config\Env, DOMElement, array, boolean, NULL)
#12 /srv/parsoid-testing/src/Wt2Html/DOMPostProcessor.php(149): Wikimedia\Parsoid\Utils\DOMTraverser->traverse(Wikimedia\Parsoid\Config\Env, DOMElement, array, boolean, NULL)
#13 /srv/parsoid-testing/src/Wt2Html/DOMPostProcessor.php(853): Wikimedia\Parsoid\Wt2Html\DOMPostProcessor->Wikimedia\Parsoid\Wt2Html\{closure}(DOMElement, array, boolean)
#14 /srv/parsoid-testing/src/Wt2Html/DOMPostProcessor.php(903): Wikimedia\Parsoid\Wt2Html\DOMPostProcessor->doPostProcess(DOMElement)
#15 /srv/parsoid-testing/src/Wt2Html/DOMPostProcessor.php(920): Wikimedia\Parsoid\Wt2Html\DOMPostProcessor->process(DOMElement)
#16 /srv/parsoid-testing/src/Wt2Html/ParserPipeline.php(178): Wikimedia\Parsoid\Wt2Html\DOMPostProcessor->processChunkily(string, array)
#17 /srv/parsoid-testing/src/Wt2Html/ParserPipelineFactory.php(310): Wikimedia\Parsoid\Wt2Html\ParserPipeline->parseChunkily(string, array)
#18 /srv/parsoid-testing/src/Core/WikitextContentModelHandler.php(106): Wikimedia\Parsoid\Wt2Html\ParserPipelineFactory->parse(string)
#19 /srv/parsoid-testing/src/Parsoid.php(162): Wikimedia\Parsoid\Core\WikitextContentModelHandler->toDOM(Wikimedia\Parsoid\Config\Env)
#20 /srv/parsoid-testing/src/Parsoid.php(194): Wikimedia\Parsoid\Parsoid->parseWikitext(MWParsoid\Config\PageConfig, array)
#21 /srv/parsoid-testing/extension/src/Rest/Handler/ParsoidHandler.php(589): Wikimedia\Parsoid\Parsoid->wikitext2html(MWParsoid\Config\PageConfig, array, NULL)
#22 /srv/parsoid-testing/extension/src/Rest/Handler/TransformHandler.php(119): MWParsoid\Rest\Handler\ParsoidHandler->wt2html(MWParsoid\Config\PageConfig, array, string)
#23 /srv/mediawiki/php-1.37.0-wmf.1/includes/Rest/Router.php(395): MWParsoid\Rest\Handler\TransformHandler->execute()
#24 /srv/mediawiki/php-1.37.0-wmf.1/includes/Rest/Router.php(322): MediaWiki\Rest\Router->executeHandler(MWParsoid\Rest\Handler\TransformHandler)
#25 /srv/mediawiki/php-1.37.0-wmf.1/includes/Rest/EntryPoint.php(165): MediaWiki\Rest\Router->execute(MediaWiki\Rest\RequestFromGlobals)
#26 /srv/mediawiki/php-1.37.0-wmf.1/includes/Rest/EntryPoint.php(130): MediaWiki\Rest\EntryPoint->execute()
#27 /srv/mediawiki/php-1.37.0-wmf.1/rest.php(31): MediaWiki\Rest\EntryPoint::main()
#28 /srv/mediawiki/w/rest.php(3): require(string)
#29 {main}
Impact
Notes

Details

Request URL
https://it.wikipedia.orghttp//it.wikipedia.org/w/rest.php/it.wikipedia.org/v3/transform/wikitext/to/pagebundle/Risultati%20elettorali%20de%20La%20Destra%20per%20regione%20italiana

Event Timeline

ssastry triaged this task as Medium priority.Apr 20 2021, 1:40 PM
ssastry created this task.
{|
|'''{{n/a}}'''||a
|}

I see, callers of collectAttributishContent need to be aware that transclusions may no longer just be siblings,
https://github.com/wikimedia/parsoid/blob/master/src/Wt2Html/PP/Handlers/TableFixups.php#L202

Follow up to T279867

Change 681441 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/services/parsoid@master] [WIP] Account for nested transclusions in table fixups

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

Change 681459 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/services/parsoid@main] Account for nested transclusions in table fixups

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

Change 681441 abandoned by Arlolra:

[mediawiki/services/parsoid@master] [WIP] Account for nested transclusions in table fixups

Reason:

In favour of https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/ /681459 against main

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

Change 681459 merged by jenkins-bot:

[mediawiki/services/parsoid@main] Account for nested transclusions in table fixups

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

Change 682690 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/vendor@master] Bump wikimedia/parsoid to v0.14.0-a1

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

Change 682690 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.14.0-a1 for MW 1.37

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