When going through a ContentDOMTransformStage, we try to move the PageBundle when transforming the document from and to DOM. In the current version of this code, this adds DataParsoid, a non-serializable class, to ExtensionData, which breaks on ParserCache storage in later steps. This patch is pretty hacky, but it transforms the PageBundle structure back to a stdClass so that it can be re-serialized before cache insertion. The added test fails without this patch. Hopefully we'll get rid of these hacks when using a HTMLHolder later. Bug: T365036 Change-Id: Icc74edd43ea5098faebc21a084b6d483d6ab99d1 |
||
|---|---|---|
| .. | ||
| Stages | ||
| ContentDOMTransformStageTest.php | ||
| DefaultOutputPipelineFactoryTest.php | ||
| DummyDOMTransformStage.php | ||
| OutputTransformStageTestBase.php | ||
| TestUtils.php | ||