<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
It's not the case, I'm afraid. I created the node with CCK ui. Also
tried to delete each field separately, just in case some of them was
causing the failure, but it was just a long shot, and gave no happy
results. I changed the theme with the same hope, and got the same
results again.<br>
<br>
Al 16/07/2010 03:21, En/na Lee Rowlands ha escrit:
<blockquote cite="mid:1279243273.2589.3.camel@rowlands1.dnsalias.org"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="GENERATOR" content="GtkHTML/3.28.0">
Had something similar with a node type defined via hook_node_info. Type
x was defined by module A but then module A was renamed to module B.<br>
Had to update node_types table. If you used standard CCK ui to create
the node type then this is obviously not the issue.<br>
  <br>
On Thu, 2010-07-15 at 13:30 +0200, Ruben Caro wrote:
  <blockquote type="CITE">
    <pre>I'm having troubles creating cck nodes in drupal. I created a cck node 
type with several fields, none of them marked as mandatory.

Now, apparently for no reason, after I create a new node of this type, 
none of the cck fields holds its value. The process is:
1- I submit the creation form (node/add/..) with valid values.
2- Drupal shows me the node page (node/1234) only with my non-cck data 
(title, body, etc.).

If I edit the node, then the new values are saved (and displayed).
If I try node_load, no cck fields are filled in with data, and if I 
search directly on the database, there are no cck data related to this node.
If I take a look at the $node on hook_nodeapi when $op is 'insert', and 
it shows perfect, with all cck fields as I filled in on the form.
If I call cache_clear_all() inside hook_nodeapi when $op is 'insert', 
nothing changes, and the node ends up void again.
But if I clear the cache the 'Devel' way (clear css cache and then clear 
each cache table) inside hook_nodeapi when $op is 'insert', the cck data 
of the node magically shows up on the node page, and is not lost when I 
call node_load or watch in the database.

Somehow, this didn't happen the day before, with no changes to the code 
and no changes to the content. It just started to happen now, and only 
with this node type.

I plan to go further with this, but I have no time now. I just feel 
lucky and try this mailing list to see if anyone has a clue for me.

Thanks.
    </pre>
  </blockquote>
  <br>
</blockquote>
</body>
</html>