Requirements Scope embedded images

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Requirements Scope embedded images

Postby minenu » Mon Aug 03, 2015 6:21 am

We use version 1.9.13 with a postgresql backend.
Before assuming there is a bug, I just wanted to get an understanding of what I should be expecting.
When entering requirements into the system, We will often upload an image (for example a workflow diagram) to a particular requirement specification (where they are used as section headings, ie type==section) and then insert an IMG tag into the "scope" of that entry of the form;
Code: Select all
<img alt="" src="http://outhost/testlink/lib/attachments/attachmentdownload.php?id=40" style="width: 1688px; height: 660px;" /></p>

If I then generate a requirements document or type a valid URL like the URL above in a new window. I get a broken link or an "Error: Attachment not found! XXX" page. But if I launch directly from a page that has the image already loaded, it will display correctly, even if I type the URL into the address bar for a displayed image.

However if I try and type a different image id into the address it will fail, but if I load the page that holds that image then it will work correctly and the original link will now fail.

How are the attachments handled by testlink/php? What should I expect to happen?
minenu
TestLink user
 
Posts: 1
Joined: Thu Jul 30, 2015 6:31 pm

Re: Requirements Scope embedded images

Postby fman » Tue Aug 04, 2015 5:29 am

add to url &skipCheck=1

(is related to this implementation
https://github.com/TestLinkOpenSourceTR ... 7b47c15589)
fman
Member of TestLink Community
 
Posts: 3073
Joined: Tue Nov 15, 2005 7:19 am

Re: Requirements Scope embedded images

Postby fman » Sat Aug 08, 2015 8:35 am

what aabout some feedback?
fman
Member of TestLink Community
 
Posts: 3073
Joined: Tue Nov 15, 2005 7:19 am


Return to TestLink 1.9



Who is online

Users browsing this forum: No registered users and 5 guests