Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006072TestLinkTest Spec. - Test Case Stepspublic2013-12-02 11:142017-10-07 08:37
Reporter9zw 
Assigned Tofman 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionno change required 
PlatformOSWindows 7 64 bitOS Version
Product Version1.9.8 (2013 Q3 - bug fixing) 
Fixed in Version 
Summary0006072: FILE SIZE ISSUE - Image inserted in Test Step disappears after Save is clicked - depending on file size
DescriptionWhenever I insert an image file (.png, .jpg, .bmp) into a test step action, the image will show, but the image is not always stored after Save is clicked. It seems that files with a size of up to 48 KBytes are correctly stored.
Steps To ReproduceCreate a new test case.
Insert a test step.
Insert, as a step action, an image with more than 48 kBytes file size, either via the clipboard or via drag&drop --> the image will appear
Click "Save" (test step) --> the image will be lost
TagsCKEDITOR
Database (MySQL,Postgres,etc)MySQL 5.1.66
BrowserMozilla Firefox 25.0.1
PHP Version5.4
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Filesjpg file icon 95KB_image.jpg [^] (99,830 bytes) 2013-12-07 10:52


jpg file icon 29248rr40juggling_nl.jpg [^] (210,478 bytes) 2013-12-07 10:53

- Relationships

-  Notes
(0020133)
fman (administrator)
2013-12-02 19:54

Please do fresh install of 1.9.9, retest and provide feedback
(0020147)
9zw (reporter)
2013-12-05 12:13

Thanks for the feedback.
We did a fresh install of 1.9.9 and used a fresh database. The problem remains unchanged.

In the uploaded ZIP file, the file TestStepActionInInternetExplorer.png visualizes the problem.

What I did:
In Mozilla Firefox
(1) Create a new test case.
(2) Create a new test step
(3) Drag and drop file Sample_Orig_20percent.jpg (64 KB)
(4) Save test step --> Image not showing

(5) Create a new test step
(6) Drag and drop file Sample_Orig_10percent.jpg
(7) Save test step --> Image correctly showing

Now, in Internet Explorer:
(8) Open the test case created in (1) --> an icon is shown instead of the image in step 1; the image is correctly showing
(9) Right mouse click on the icon in step 1 --> Properties --> Copied the properties to Sample_Orig_20percent_Properties.txt
(10) Right mouse click on the image in step 2 --> Properties --> Copied the properties to Sample_Orig_10percent_Properties.txt

I think it is noticeable that the icon/image properties (as pasted in the text files) have about the same size as the images themselves. It seems that TL does not create a link to the image but inserts the full image into the test step (test step action). Perhaps this has to with the configuration of CKEditor? BTW, at the moment, the only option to insert images into test step actions is to drag and drop them, since no upload button is available.
(0020148)
fman (administrator)
2013-12-05 12:48

>> Perhaps this has to with the configuration of CKEditor?
yes. you have to investigate this
(0020167)
fman (administrator)
2013-12-07 12:00

1. using CKEDITOR (I've dismissed FCKEDITOR) at least on linux drag & drop CREATES A LINK do not embbed the image

2. CKEDITOR does not provide the file uploader that was provided on FKCEDITOR => need to get some solution on Internet

this issue unfortunatelly right now has no priority
(0020192)
josephorfeuil (reporter)
2013-12-11 18:15

Hello, I'm having exactly the same issue, and just like 9zw, the problem seem related to image size.
I did test on the demo platform available online and the problem can be seen there.
Any idea how to workaround, except resizing images?
(0020433)
9zw (reporter)
2014-02-13 09:03

Solved. I was able to solve the problem by following the steps described in this post: http://forum.testlink.org/viewtopic.php?f=11&t=7535 [^] (see third section).
(0026885)
allkinds76 (reporter)
2017-09-30 01:47

when is this issue resolve?
(0026901)
fman (administrator)
2017-10-07 08:37

read note 20433

- Issue History
Date Modified Username Field Change
2013-12-02 11:14 9zw New Issue
2013-12-02 19:54 fman Note Added: 0020133
2013-12-02 19:54 fman Status new => feedback
2013-12-05 12:13 9zw Note Added: 0020147
2013-12-05 12:13 9zw Status feedback => new
2013-12-05 12:48 fman Note Added: 0020148
2013-12-07 08:04 fman Summary Image inserted in Test Step disappears after Save is clicked - depending on file size => FILE SIZE ISSUE - Image inserted in Test Step disappears after Save is clicked - depending on file size
2013-12-07 08:04 fman Description Updated View Revisions
2013-12-07 10:43 fman Tag Attached: CKEDITOR
2013-12-07 10:52 fman File Added: 95KB_image.jpg
2013-12-07 10:53 fman File Added: 29248rr40juggling_nl.jpg
2013-12-07 12:00 fman Note Added: 0020167
2013-12-11 18:15 josephorfeuil Note Added: 0020192
2014-02-13 09:03 9zw Note Added: 0020433
2017-09-30 01:47 allkinds76 Note Added: 0026885
2017-10-07 08:37 fman Note Added: 0026901
2017-10-07 08:37 fman Status new => resolved
2017-10-07 08:37 fman Resolution open => no change required
2017-10-07 08:37 fman Assigned To => fman



Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker