Page MenuHomePhabricator

VisualEditor: No oldid is sent on POST to Parsoid
Closed, ResolvedPublic

Description

As the title says. The bug seems to be in postHTML:

array(

'postData' => array( 'content' => $html ),
'timeout' => $wgVisualEditorParsoidTimeout,
'oldid' => $parserParams['oldid']

)

should be:

array(

'postData' => array( 'content' => $html, 
                     'oldid' =>  $parserParams['oldid']),
'timeout' => $wgVisualEditorParsoidTimeout

)


Version: unspecified
Severity: normal

Details

Reference
bz47434

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.
bzimport set Reference to bz47434.

This would explain a great deal. :-)

Verified that this fixes the problem and lets Parsoid actually use selective serialization. Current production code does not use selective serialization for this reason.

Related URL: https://gerrit.wikimedia.org/r/60082 (Gerrit Change Ib1b7079a7fd3357903e5a14795ed0d2f2bdc5d16)

Merged; to go out in next push as a critical priority.

  • Bug 47498 has been marked as a duplicate of this bug. ***