Page MenuHomePhabricator

[error/p-wrap] Failed assertion in onNewLineOrEOF: newline-count:1 ; current line tokens: [" "]
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[error/p-wrap] Failed assertion in onNewLineOrEOF: newline-count:1 ; current line tokens:  [" "]
exception.trace
Impact
Notes

Details

Request URL
https://es.wikipedia.orghttp//es.wikipedia.org/w/rest.php/es.wikipedia.org/v3/transform/wikitext/to/pagebundle/Pandemia%20de%20COVID-19%20en%20Cuzco

Event Timeline

Sample test case based on a metawiki page that triggered this "warning" in rt-testing:

<p>                                                                                                      
<translate> foo</translate>                                                                              
</p>

Change 705148 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/services/parsoid@master] P-wrap: Remove incorrect invariant check

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

Change 705517 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/services/parsoid@master] P-wrap: Fix failing invariant by fixing undoIndentPre handling

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

Change 705148 abandoned by Subramanya Sastry:

[mediawiki/services/parsoid@master] P-wrap: Remove incorrect invariant check

Reason:

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

Arlolra triaged this task as Medium priority.
Arlolra moved this task from Needs Triage to Bugs & Crashers on the Parsoid board.

Change 705517 merged by jenkins-bot:

[mediawiki/services/parsoid@master] P-wrap: Fix failing invariant by fixing undoIndentPre handling

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

Change 708134 had a related patch set uploaded (by Subramanya Sastry; author: C. Scott Ananian):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.14.0-a9

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

Change 708134 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.14.0-a9

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

Change 708172 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.14.0-a10

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

Change 708172 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.14.0-a10

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