Page MenuHomePhabricator

Errors from RT testing
Closed, ResolvedPublic

Description


error in arwiki:كأس_الأمم_الآسيوية_لكرة_القدم_2000: Cannot read property 'href' of undefined
TypeError: Cannot read property 'href' of undefined

at /usr/lib/parsoid/src/lib/mediawiki.WikitextSerializer.js:490:33

error in arwiki:تأثير_الدمعة_السوداء: Object Sky ,[object Object],&,[object Object], Telescope has no method 'replace'
TypeError: Object Sky ,[object Object],&,[object Object], Telescope has no method 'replace'

at Object.Util.escapeEntities (/usr/lib/parsoid/src/lib/mediawiki.Util.js:1321:14)
at WikitextSerializer.WSP._serializeAttributes (/usr/lib/parsoid/src/lib/mediawiki.WikitextSerializer.js:359:15)

error in frwiki:Dialogue_du_chapon_et_de_la_poularde: In WSP.handleImage, node does not have any img elements: <span typeof="mw:Image" data-parsoid="{&quot;optList&quot;:[{&quot;ck&quot;:&quo
t;width&quot;,&quot;ak&quot;:&quot;20px&quot;}],&quot;dsr&quot;:[2210,2241,null,null]}"></span>
Stack:

WikitextSerializer.figureHandler (/usr/lib/parsoid/src/lib/wts.LinkHandler.js:543:12)
Object.TagHandlers.span.handle (/usr/lib/parsoid/src/lib/wts.TagHandlers.js:801:23)

error in enwiki:Suquamish_(motor_vessel): Cannot read property 'href' of undefined
TypeError: Cannot read property 'href' of undefined

at /usr/lib/parsoid/src/lib/mediawiki.WikitextSerializer.js:490:33
at Array.forEach (native)
at WikitextSerializer.WSP._buildTemplateWT (/usr/lib/parsoid/src/lib/mediawiki.WikitextSerializer.js:487:11)


Version: unspecified
Severity: normal

Details

Reference
bz63790

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:14 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz63790.

Change 125413 had a related patch set uploaded by Arlolra:
Fix template nesting when end unreachable

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

Change 125413 merged by jenkins-bot:
Fix template nesting where end was unreachable

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

Where this stands:

The last one is fixed on master.
The first is most of the way there with https://gerrit.wikimedia.org/r/#/c/125514/

Haven't looked at the other two yet.

Change 125900 had a related patch set uploaded by Arlolra:
Entities in ref name aren't expected

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

Change 125900 merged by jenkins-bot:
Temp fix for handling non-string ref attribute vals

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

1,2, and 4 are now fixed. Case 3 has been added to an existing bug report (bug 64022). So, closing this.