Page MenuHomePhabricator

"Unhandled Exception: Call to undefined method PhutilDOMNode::setRawContent() when trying to access several tasks
Closed, ResolvedPublic

Description

Hello,

I can't see the T19486 task ("Parser generates malformed HTML with a list inside a table").

I get the following message:

Unhandled Exception ("Error")
Call to undefined method PhutilDOMNode::setRawContent()

Thank you.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 8 2019, 7:18 PM
Aklapper renamed this task from Phabricator: Unhandled Exception when trying to access the T19486 bug to "Unhandled Exception: Call to undefined method PhutilDOMNode::setRawContent() when trying to access T19486.Jul 8 2019, 7:38 PM
Aklapper added a subscriber: mmodell.

Thanks for reporting this! Indeed...

https://discourse.phabricator-community.org/t/bug-in-src-parser-html-phutildomnode-php/2882/4 implies that this might be fixed by https://secure.phabricator.com/D20630 (and potentially https://secure.phabricator.com/D20631 ) but according to https://phabricator.wikimedia.org/config/version/ we should run that version already?

Restricted Application added a project: Upstream. · View Herald TranscriptJul 8 2019, 7:44 PM
Aklapper renamed this task from "Unhandled Exception: Call to undefined method PhutilDOMNode::setRawContent() when trying to access T19486 to "Unhandled Exception: Call to undefined method PhutilDOMNode::setRawContent() when trying to access several tasks.Jul 10 2019, 4:31 PM
MBH added a subscriber: MBH.Jul 10 2019, 4:32 PM
MBH added a comment.Jul 10 2019, 4:49 PM

Yes, it's because of "table" tags. I couldn't post this T227681 task with error "Call to undefined method PhutilDOMNode::newRawString()", but when I deleted "table" tags from task's text, task was posted successfuly.

epriestley added a subscriber: epriestley.

This should be resolved upstream by https://secure.phabricator.com/D20644. The two changes noted above were similar, but didn't completely resolve this.

mmodell closed this task as Resolved.Jul 10 2019, 5:58 PM
mmodell claimed this task.

Thanks @epriestley!

The upstream fix has been applied to production.