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.
Migration FROM 1.7 - Lost all attached files to test cases
Moderators: Amaradana, TurboPT, TL Developers
Re: Lost all attached files (xml) to test cases
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 ?
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
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
need to do some tests.
stay tunned
-
- TestLink user
- Posts: 12
- Joined: Wed Sep 16, 2009 4:52 pm
Re: Migration FROM 1.7 - Lost all attached files to test cas
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
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
I have not heard anything yet.