Copy Test Case with Attachment causes Error

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
noelob
TestLink user
Posts: 4
Joined: Fri Jan 09, 2009 2:47 pm

Copy Test Case with Attachment causes Error

Post by noelob »

Hi,

I've upgraded from 1.7.4 to 1.8 RC2 and I've configured Testlink to store attachments in the DB. When I copy a test case that's got an attachment, the following error is displayed:

Code: Select all

Fatal error: Call to a member function prepare_string() on a non-object in /var/www/testlink-1.8/lib/functions/attachment.class.php on line 173
A new test case is created, but without the attachment. Do I have my system mis-configured, or is this a bug?
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

I guess it's a bug. Please, report it to tracker. Thanks.
Locked