Mantis - Quercus
Viewing Issue Advanced Details
3989 minor always 04-08-10 17:59 03-22-12 13:42
nam  
 
normal  
assigned 4.0.5  
open  
none    
none  
0003989: Unable to UNSET values in Drupal 6.16 / Quercus 4.0.3
(rep by sblommers)

http://forum.caucho.com/showthread.php?t=7383 [^]

$original = node_load(1979);
$original->status = 1;

$original->field_date_fasttrack[0]['value'] = "2010-01-01T00:00:00"; // THIS WORKS
$original->field_date_fasttrack[0]['value'] = "0000-00-00T:00:00:00"; // THIS DOES NOT WORK but it is incorrect date so that's obvious
$original->field_date_fasttrack[0]['value'] = ""; // THIS DOES NOT WORK
$original->field_date_fasttrack[0]['value'] = NULL; // THIS DOES NOT WORK

$original->field_module[0]['value'] = "1111"; // THIS WORKS
$original->field_module[0]['value'] = ""; // THIS DOES NOT WORK
$original->field_module[0]['value'] = NULL; // THIS DOES NOT WORK
$original->field_module[0] = NULL; // THIS DOES NOT WORK

There are no notes attached to this issue.