1

I have a node type with its revisions set to ON I am not sure this is a bug on my copy or Drupal 6 doesn't save any revisions for CCK fields in the node and only does that for title and body?

1

CCK stores values against the vid, so you should be able to see the history of your fields (you can look in tables like content_% to check that the raw data's there). Otherwise a revert would be fairly useless for most situations involving fields. Can you confirm the results of the following?

  1. Create new content type with revisions turned on.
  2. Add text field.
  3. Create a node of this new type (add some text to the field).
  4. Edit the node and update the title, body and field.
  5. Revert the node to its first state.
0

Drupal 6 does not save CCK field data in node revision saves, just the Title and Body as far as I know.

edit: finally got to testing - CCK field data does indeed get saved in Drupal 6. Are you sure you're creating a new revision?

  • Yes I am creating a new revision but the values in CCK fields remain the same. Could you please tell me which table saves the revision data for CCK? – Luca Dec 13 '11 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.