I have content using cck with Drupal 4.7.2. After upgrading Drupal core and cck modules to version 5.7, I can view the nodes fine by browsing to them, but paging no longer works.

The issue seems to stem from that when paging_nodeapi is called for the load op, body is empty and the field_body array is not present on the node object.

During the "view" op, the fields are present, which is why the display correctly, but the pages array is empty.

Here's my debugging attempts --> http://drupalbin.com/1704

Comments

emackn’s picture

Do no comments mean that I did something wrong in my data migration?

emackn’s picture

Guess I'll be figuring this out on my own.

emackn’s picture

Assigned: Unassigned » emackn

Rechecked my data migration steps again and still no luck with paging working with the migrated info. Looks like hacking the module is the only way its going to work for the migrated data.

Module works fine for data created in newly created content types.

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Did you clear your cache tables after upgrading? Specifically, cache_filter?

emackn’s picture

Yes, I had to do that just to get the bodies to show up correctly.
This issue, #236028: Fields not showing after upgrade, documents exactly what I had to do to recover my data.

sun’s picture

Status: Postponed (maintainer needs more info) » Fixed

Great.

emackn’s picture

But that didn't fix paging.

emackn’s picture

I think I found the issue. The migrated content types are using a cck type for the body (field_body). So when the node is initially loaded by the paging module, body is empty. I'm thinking that this is more an issue of migration and less of paging.

emackn’s picture

It was more an issue with CCK. I followed the hints I found in issue #165370: migrate content_field_myfield to body, Fixed the problems. :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.