Requirements - CSV Import Not Working [SOLVED]

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
tombot18
TestLink user
Posts: 1
Joined: Thu Feb 03, 2011 2:13 pm

Requirements - CSV Import Not Working [SOLVED]

Post by tombot18 »

Hi,

I'm trying to import a CSV into requirements, and whatever I do, it just says "Import done" without adding anything. I've tried everything, including the example provided in the documentation, and this behavior continues.
All the logs on our server remain blank. The event log shows the following error, but only once or twice, not every time I attempt to upload:

Code: Select all

E_WARNING Invalid argument supplied for foreach() - in /var/www/testlink-1.9.1/lib/functions/csv.inc.php - Line 95
I can confirm that using XML works, and CSV used to work until we upgraded to 1.9.1 - does anyone know what I can do to fix this?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Requirements - CSV Import Not Working

Post by fman »

form 1.9 and up XML is the format to use due to new tree nature of requirements, and CSV will be deprecated.
oscfra
TestLink user
Posts: 3
Joined: Fri Jul 08, 2011 9:01 am

Re: Requirements - CSV Import Not Working

Post by oscfra »

Hi,

I also confirm that csv import is not working in testlink 1.9.2
If this import is deprecated, it should be removed from the testlink interface menu items...

Regards,
Oscar
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Requirements - CSV Import Not Working

Post by fman »

confirm issue on forum and not adding to mantis will not help to solve it.
in addition we need detailed steps to reproduce instead of elipsis (....)
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Requirements - CSV Import Not Working

Post by fman »

You can import:
1- REQUIREMENTS (flat set of requirements NO req spec (req spec is a container) ) o
2- REQ SPEC TREE populated with other req spec (folders) ad requirements

** CSV import works for requirements on 1.9.3 => also on 1.9.2.
** CSV IS NOT SUPPORTED for REQ SPEC i.e folder structure with requirements. => just XML
on user interface only the supported format is proposed to user.
Post Reply