Posted by mrded on June 20, 2012 at 4:46pm
6 followers
| Project: | Content Construction Kit (CCK) |
| Version: | 7.x-2.x-dev |
| Component: | General |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Issue Summary
Please, check my screenshot:
| Attachment | Size |
|---|---|
| Screen Shot 2012-06-20 at 17.10.56.PNG | 149.58 KB |
Comments
#1
my patch
#2
Patch was a couple of lines off on my copy, but manually adding the one line of code in the patch worked for me.
#3
This bug is caused by the undefined variable $node in content_migrate.admin.inc (Line 366) and can be fixed by commenting out that line.
// $query->addExpression("'". $node['type'] ."'", 'bundle');
At some point in April (commit 26099e5) a performance patch was applied. The variable $node that was created prior to this line was removed, but they forgot to remove the reference to $node in the above line. So $node is basically not set prior to this.
The bundle will be set correctly on line 390 ($query->addExpression("'". $node['type'] ."'", 'bundle');), once $node is set.
#4
This is a simpler one.
#5
RTBC because of #3 (I didn't see it yesterday).