I'm not really getting this, but is there no upgrade from nodeorder 6 to 7. When I install version 7 there is no updates on running the update script on the database?
term_node table no longer exists in Drupal 7 which instead use taxonomy_index. So how do I get my existing node ordering into taxonomy_index table. Is this a manual job?
my error is: DOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'weight' in 'field list': SELECT weight, nid FROM {taxonomy_index} WHERE nid IN(:nids_0); Array ( [:nids_0] => 1509 ) in nodeorder_node_load() (line 767 of /sites/all/modules/nodeorder/nodeorder.module)
Comment | File | Size | Author |
---|---|---|---|
#2 | nodeorder-upgrade_path-1831172-2.patch | 3.32 KB | grahamC |
Comments
Comment #1
bib_boy CreditAttribution: bib_boy commentedComment #2
grahamCI ran into this too. Attached is a patch which works for me.
Bear in mind that taxonomy's updates will have completely hosed nodeorder's data on an already upgraded site, so this needs to be in place during the initial site upgrade.
(The site I'm dealing with has a ridiculously small number of nodes, so I've probably cut corners by not making it into a proper batch process or anything.)
Comment #3
halloffame CreditAttribution: halloffame commentedPatch itself worked but got this
Too late to go back.
Comment #4
grahamC@halloffame: Well, one could probably adapt it to export the weights from a D6 database and import them the same way...
That said, I still consider the nodeorder module unusably broken on D7 at the moment because of #1780576: Saving nodes resets nodeorder