Page MenuHomePhabricator

token.getAttribute(...)[0].match is not a function
Closed, ResolvedPublic

Description

https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2018.03.01/parsoid?id=AWHfL2ssb8LAjXb0cdpy&_g=()

TypeError: token.getAttribute(...)[0].match is not a function
    at WikiLinkHandler.linkToMedia (/srv/deployment/parsoid/deploy-cache/revs/d376a3c9999c6abeda536b08fbbdf43908d34830/src/lib/wt2html/tt/LinkHandler.js:1842:48)
    at WikiLinkHandler.<anonymous> (/srv/deployment/parsoid/deploy-cache/revs/d376a3c9999c6abeda536b08fbbdf43908d34830/src/lib/wt2html/tt/LinkHandler.js:1906:14)
    at next (native)
    at tryCatchNext (/srv/deployment/parsoid/deploy-cache/revs/d376a3c9999c6abeda536b08fbbdf43908d34830/node_modules/prfun/lib/index.js:783:28)
    at continuer (/srv/deployment/parsoid/deploy-cache/revs/d376a3c9999c6abeda536b08fbbdf43908d34830/node_modules/prfun/lib/index.js:800:24)
    at callback (/srv/deployment/parsoid/deploy-cache/revs/d376a3c9999c6abeda536b08fbbdf43908d34830/node_modules/prfun/lib/index.js:812:43)
    at tryCatch1 (/srv/deployment/parsoid/deploy-cache/revs/d376a3c9999c6abeda536b08fbbdf43908d34830/node_modules/babybird/lib/promise.js:40:12)
    at promiseReactionJob (/srv/deployment/parsoid/deploy-cache/revs/d376a3c9999c6abeda536b08fbbdf43908d34830/node_modules/babybird/lib/promise.js:269:19)
    at PromiseReactionJobTask.call (/srv/deployment/parsoid/deploy-cache/revs/d376a3c9999c6abeda536b08fbbdf43908d34830/node_modules/babybird/lib/promise.js:284:3)
    at flush (/srv/deployment/parsoid/deploy-cache/revs/d376a3c9999c6abeda536b08fbbdf43908d34830/node_modules/asap/raw.js:50:29)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Details

Related Gerrit Patches:
mediawiki/services/parsoid : masterxmlish tags in wikilink title position are invalid

Event Timeline

Arlolra created this task.Mar 1 2018, 6:53 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 1 2018, 6:53 AM
Arlolra triaged this task as High priority.Mar 1 2018, 6:53 AM
Arlolra claimed this task.Mar 1 2018, 3:58 PM

Change 415638 had a related patch set uploaded (by Arlolra; owner: Arlolra):
[mediawiki/services/parsoid@master] xmlish tags in wikilink title position are invalid

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

Change 415638 merged by jenkins-bot:
[mediawiki/services/parsoid@master] xmlish tags in wikilink title position are invalid

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

Mentioned in SAL (#wikimedia-operations) [2018-03-05T21:32:02Z] <arlolra> Updated Parsoid to d115592 (T188591)