[turba] Turba RC1 issue

Jan Schneider jan at horde.org
Tue Nov 23 10:27:16 PST 2004


Zitat von Kent Martin <horde at kentsworld.com>:

> As it stands currently, when importing a comma delimited file, turba
> takes its cues about that fields are available solely from the first
> record.  If the subsequent records contain extra details that aren't in
> the first, they are ignored.

This should not happen. Even if the import code doesn't *guess* the number
of columns correctly from the first row, it should work if you override the
number of columns manually. That's why we added this field. If both don't
work, it's probably a bug in File_CSV or filegetcsv(), whichever your
system uses.

> The workaround is trivial - update your input file in one of the
> following two ways:
> a) Add a first line containing the field names
> b) Populate the fields (that you require for other records) in the first
> record with dummy information, then delete that dummy information after
> the import.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the turba mailing list