I'm running content migrate to import my data, then checking that data, and the bundle property in the field table isn't set. It looks like the code is there to set this field, but it's not working because it's using an expression that's set twice. (see content_migrate.admin.inc's _content_migrate_batch_process_migrate_data() for what I mean).

Attached patch removes the non-working first addExpression call, which fixes the problem.

CommentFileSizeAuthor
cck-bundle_not_set_on_migrate.patch647 bytesrbayliss
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

charlie-s’s picture

I've already upgraded a lot of content and now see this problem. Is it an issue to have the bundle not set?

rbayliss’s picture

It can be later on if you need to access the data with views or something. IIRC, when I was seeing the issue, it was causing content not to show up in certain places. Luckily, it's pretty easy to fix later if you need to (just look up the node type for each entity_id in the table that's missing a bundle).

jcfiala’s picture

Issue summary: View changes
Status: Needs review » Postponed (maintainer needs more info)

Okay, the patch you've attached isn't even a patch against the link module? You need to explain a bit better.

rbayliss’s picture

Project: Link » Content Construction Kit (CCK)
Version: 7.x-1.x-dev » 7.x-2.x-dev
Component: Code » General

Woah, yeah sorry about that. I could have sworn this was posted into the CCK project.

colan’s picture

Component: General » upgrade path
Status: Postponed (maintainer needs more info) » Closed (duplicate)