Closed (fixed)
Project:
Paging
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
13 May 2008 at 16:53 UTC
Updated:
20 Jun 2008 at 20:26 UTC
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
Comment #1
emackn commentedDo no comments mean that I did something wrong in my data migration?
Comment #2
emackn commentedGuess I'll be figuring this out on my own.
Comment #3
emackn commentedRechecked 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.
Comment #4
sunDid you clear your cache tables after upgrading? Specifically, cache_filter?
Comment #5
emackn commentedYes, 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.
Comment #6
sunGreat.
Comment #7
emackn commentedBut that didn't fix paging.
Comment #8
emackn commentedI 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.
Comment #9
emackn commentedIt was more an issue with CCK. I followed the hints I found in issue #165370: migrate content_field_myfield to body, Fixed the problems. :)
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.