============
Features and enhancements
+- #1403222 - Relaxed setting of bundle for node destinations.
- #1364326 - Default --limit option to items.
- #1337640 - Properly optimize the SQL source query for highwater marks.
- #1366588 - Source plugin support has been refactored to put more of the common
$node->uid = $old_node->uid;
}
}
+ else if (!isset($node->type)) {
+ // Default the type to our designated destination bundle (by doing this
+ // conditionally, we permit some flexibility in terms of implementing
+ // migrations which can affect more than one type).
+ $node->type = $this->bundle;
+ }
// Set some required properties.
- // Set type before invoking prepare handlers - they may take type-dependent actions.
- $node->type = $this->bundle;
if ($migration->getSystemOfRecord() == Migration::SOURCE) {
if (!isset($node->language)) {