Active
Project:
Rotor Banner
Version:
6.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2010 at 01:36 UTC
Updated:
6 Oct 2010 at 01:38 UTC
This module provides a node type that doesn't doesn't work with drupal's node revision system.
The rotor_item table should also have a vid column, which would be the primary key and would be used to link to nodes.
nid would want to be an index though.
Each time a node is saved you would do an insert into rotor_item instead of update or insert (Unless empty($node->revision), in which case it is an update or insert).
Your views functionality will also have to be changed to join on vid instead of nid.
I guess this could be thought of as a feature request but seeing as you are providing a node type it should work as other drupal node types do so technically it is a bug.
Comments
Comment #1
agileware commentedIt will also need an implementation of hook_update_N() to add the vid to any existing rows of the rotor_item table.