Issue #2837684: Add failing test coverage for XML sources with track_changes

The XML data parsers pass complex elements through as SimpleXMLElement. With track_changes enabled, SourcePluginBase::prepareRow() calls Row::rehash(), which serializes the whole source row, and SimpleXMLElement cannot be serialized.

The existing data parser tests instantiate a parser and iterate it directly, so they never build a Row and cannot reach Row::rehash(). This adds a kernel test that runs a real migration for both the xml and simple_xml parsers, and asserts on the reported exception rather than only on the result status.

Progress towards #2837684

Edited by Lucas Hedding

Merge request reports

Loading
Loading