Requirements Scope embedded images

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

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
minenu
TestLink user
Posts: 1
Joined: Thu Jul 30, 2015 6:31 pm

Requirements Scope embedded images

Post by minenu »

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?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Requirements Scope embedded images

Post by fman »

add to url &skipCheck=1

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

Re: Requirements Scope embedded images

Post by fman »

what aabout some feedback?
Post Reply