Page 1 of 1

Migration FROM 1.7 - Lost all attached files to test cases

Posted: Mon Nov 30, 2009 10:16 pm
by aostad
I'm just wondering if it happened to anybody that loses an attached file to a test case.

I have over 200 test cases that majority of them have some scripts (xml files) attached to them.

Recently, I noticed none of attached file can be found by testlink. After clicking the link on attached file an error page pops up saying "Error: Attachment not found!"

Since most scripts were customized per test case, it is not easy to rewrite them. I'm pretty sure those attached file are somewhere in the system and there should be a way to bring them back.

Any help is much appreciated.

Re: Lost all attached files (xml) to test cases

Posted: Thu May 20, 2010 1:01 pm
by Cyrille
Hello,

after migrating from TL 1.7.4 to TL 1.8.5 , my old testcases with attachments seem to have lost the link .
I've just modify the TL repository between the 2 configurations.

TL 17. configuration:
/**
* TL_REPOSITORY_TYPE_FS: the where the filesystem repository should be located
* We recommend to change the directory for security reason.
**/
$g_repositoryPath = TL_ABS_PATH . "upload_area" . DS;

TL 1.8 conf:
/ $tlCfg->repositoryPath = TL_ABS_PATH . "upload_area" . DIRECTORY_SEPARATOR;
$g_repositoryPath = TL_ABS_PATH . "upload_area" . DIRECTORY_SEPARATOR . "fck_editor" . DIRECTORY_SEPARATOR ."upload_area" . DIRECTORY_SEPARATOR . "userfiles" . DIRECTORY_SEPARATOR;

It works well for image (using fckeditor) in testcase, but not for attachments.

Do you find any solution ?

Re: Migration FROM 1.7 - Lost all attached files to test cas

Posted: Thu May 20, 2010 1:45 pm
by fman
after upload file name are scrambled on file system, but on db you have to have the pointers
need to do some tests.
stay tunned

Re: Migration FROM 1.7 - Lost all attached files to test cas

Posted: Thu Sep 02, 2010 4:26 pm
by Christophe
Do you have any news for this issue?
I have migrated from 1.7.5 to 1.8.5 and copied the upload folder and tere are some files that I am not able to access.

Thanks for your valuable help

Re: Migration FROM 1.7 - Lost all attached files to test cas

Posted: Thu Sep 02, 2010 6:50 pm
by aostad
I have not heard anything yet.