projects
/
project/migrate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
dd3016e
)
Issue #1300258 by G.I.Joe: Fixed error on unfulfilled term references
author
Mike Ryan
Sat, 8 Oct 2011 19:08:23 +0000 (15:08 -0400)
committer
Mike Ryan
Sat, 8 Oct 2011 19:08:23 +0000 (15:08 -0400)
CHANGELOG.txt
patch
|
blob
|
blame
|
history
plugins/destinations/fields.inc
patch
|
blob
|
blame
|
history
diff --git
a/CHANGELOG.txt
b/CHANGELOG.txt
index
0248d9f
..
741194e
100644
(file)
--- a/
CHANGELOG.txt
+++ b/
CHANGELOG.txt
@@
-7,6
+7,7
@@
Features and enhancements
- #1254398 - Prevent accidental emailing during migration.
Bug fixes
+- #1300258 - Fixed error on unfulfilled term references.
- #1292462 - Group missing from drush options.
- #1290122 - Force destinations to implement __toString().
- #1290120 - Warnings updating users if roles not set.
diff --git
a/plugins/destinations/fields.inc
b/plugins/destinations/fields.inc
index
bca89dd
..
10b404a
100644
(file)
--- a/
plugins/destinations/fields.inc
+++ b/
plugins/destinations/fields.inc
@@
-190,6
+190,9
@@
class MigrateTaxonomyTermReferenceFieldHandler extends MigrateFieldHandler {
else {
$arguments = array();
}
+ if (empty($values[0])) {
+ $values = array();
+ }
if (isset($arguments['source_type']) && $arguments['source_type'] == 'tid') {
// Nothing to do. We have tids already.
$tids = $values;