Active
Project:
Content Construction Kit (CCK)
Version:
7.x-2.x-dev
Component:
upgrade path
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2012 at 22:28 UTC
Updated:
20 Feb 2013 at 11:41 UTC
line 358 of .../sites/all/modules/cck/modules/content_migrate/includes/content_migrate.admin.inc
in checking my System log, I noticed a bunch of these errors. $node is referenced on line 358, but I don't see it set until later in this function
Comments
Comment #1
mikeryanMoving to the right project.
Comment #2
drzraf commentedcan reproduce: sample:
Believe it or not: code line 358 is:
$query->addExpression("'". $node['type'] ."'", 'bundle');but no
$codevariable exist in the context.line 370:
Comment #3
drzraf commented[edit: pointless]
Comment #4
drzraf commentedthe second notice (line 370) happens with:
content_taxonomyrelated ??and also happens with:
and
...
Comment #5
drm commentedI was having this problem (line 358, not 370) as well and I went to an old site that I converted and migrated a year ago. I found that the following few lines were in the CCK on that site but are missing on the current one:
Adding that in just after the // Process 100 nodes in each batch. comment on line 347 fixed it.
Comment #6
Carlos Miranda Levy commentedIn case anyone is wondering where to add that code, it goes into modules/cck/modules/content_migrate/includes/content_migrate.admin.inc