Last modified: 2014-01-29 07:50:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60310, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58310 - Flow: PHP Warning: DOMDocument::loadHTML(): Empty string supplied as input in /srv/mediawiki/extensions/Flow/includes/ParsoidUtils.php
Flow: PHP Warning: DOMDocument::loadHTML(): Empty string supplied as input i...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-11 04:49 UTC by spage
Modified: 2014-01-29 07:50 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2013-12-11 04:49:14 UTC
On ee-flow server,
 $ sudo tail -f /var/log/apache2/error.log

Load http://ee-flow.wmflabs.org/wiki/Sandbox and press spacebar or drag scrollbar to scroll down (and trigger infinite scrolling)  Eventually error.log fills with dozens of these warnings:

[Wed Dec 11 04:42:21 2013] [error] [client 216.38.130.164] PHP Warning:  DOMDocument::loadHTML(): Empty string supplied as input in /srv/mediawiki/extensions/Flow/includes/ParsoidUtils.php on line 186, referer: http://ee-flow.wmflabs.org/wiki/Sandbox

The page seems to work OK. This could be related to bug 57897 , though infinite scroll kept working until my browser got really sluggish.
Comment 1 Bingle 2013-12-11 04:54:22 UTC
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/607, but people from the community are welcome to contribute here and in Gerrit.
Comment 2 spage 2014-01-29 07:50:39 UTC
Maybe gerrit I2d50c837e82 was the patch to review for this bug, Erik Bernhardson comments "it is not impossible to get that error in 58310, depends what was calling ParsoidUtils::DOMDocument"

When I scroll down in ee-flow Talk:Sandbox to around the topic 'Did the "A" go away?', I start getting big chunks of dozens of
   HTTP: POST: http://localhost:8000/localhost/Sandbox
messages and this repeats when I next paginate more in. That looks like parsoid requests, presumably these are so old they require parsing from wikitext to HTML. But I scrolled all the way to "Just wanted to see what would happen, 2013-10-16 Wednesday" with no errors in the log, so yeah, fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links