Forums / Developer / Data import extension and data null

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Data import extension and data null

Author Message

SEBBANE Alexandre

Thursday 06 November 2008 8:03:21 pm

How to import a content where sometime data dont exist

to expose my problèm, let's try a little explanation :

here is a article ( title, text , date1 , date2)
the data to import are

title1;bla bla bla; 12/12/206;13/12/2007 
title2;bla bla bla2;;1/12/2007 
title3;bla bla bla3; 2/12/206;10/12/2007 
title4;bla bla bla4; 1/12/206;3/12/2007 
title5;bla bla bla5; 7/12/206;22/12/2007 

how can i do to import the content n°2.

up to now, a data which is null is inserted with a value of 0 ( for a string ), 01/01/1970 for a date etc...

thanks for your answers

Paris, France

Grégory BECUE

Thursday 20 November 2008 9:44:05 am

Hi Alexandre,

What do you use to make your data importation ? You have a script or you use an extension import ?

Because i use a specific script and if i don't have a value for a birthday, the field will be empty ! i don't have this problem.