Page MenuHomePhabricator

TypeError: Cannot read property 'match' of undefined
Closed, DeclinedPublic

Description

https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2018.11.05/parsoid?id=AWbkvXpGN-apXXYuCpgr&_g=h@44136fa

mediawikiwiki Main_Page

TypeError: Cannot read property 'match' of undefined
    at Object.DOMUtils.parseHTML (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/src/lib/utils/DOMUtils.js:2443:11)
    at Object.DOMUtils.ppToDOM (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/src/lib/utils/DOMUtils.js:2318:13)
    at WikitextSerializer.<anonymous> (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/src/lib/html2wt/WikitextSerializer.js:108:16)
    at next (native)
    at tryCatchNext (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/prfun/lib/index.js:783:28)
    at continuer (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/prfun/lib/index.js:800:24)
    at callback (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/prfun/lib/index.js:812:43)
    at /srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/prfun/lib/index.js:814:9
    at tryCatch2 (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/babybird/lib/promise.js:48:12)
    at PrFunPromise.Promise (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/babybird/lib/promise.js:458:15)
    at new PrFunPromise (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/prfun/lib/index.js:100:21)
    at WikitextSerializer.serializeHTML (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/prfun/lib/index.js:797:21)
    at WikitextSerializer.<anonymous> (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/src/lib/html2wt/WikitextSerializer.js:586:23)
    at next (native)
    at tryCatchNext (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/prfun/lib/index.js:783:28)
    at continuer (/srv/deployment/parsoid/deploy-cache/revs/e36608ca09c80c9ce638db8790e59259d7f769af/node_modules/prfun/lib/index.js:800:24)

Event Timeline

The "Main_Page" probably means it was using the default to parse a snippit. This one's going to require manual inspection.

ssastry triaged this task as Medium priority.Jun 10 2019, 8:13 PM

Parsoid/JS is not in use any more.