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>
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?