Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008486TestLinkTest Case Attachmentspublic2018-11-22 15:072018-11-26 11:02
Reporterhagbard 
Assigned Tofman 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformGNU/Linux x86_64OSDebianOS Version9.6
Product Version1.9.18 (2018 Q3) 
Fixed in Version1.9.19 (2019 Q1) 
Summary0008486: Testcase attachments not visible in Test Execution
DescriptionAs a tester i dont see any attachments in Test Execution mode, but they are visible in Test Specification mode.
Steps To Reproduce1. Create a new testcase
2. Upload an attachment to that testcase
3. Go to Test Execution and select the new created testcase
4. Try to download the attachment
Additional InformationI compare the Smarty Debug Console output from 1.9.17 and 1.9.18 in Test Execution mode.

1.9.17 shows:
->tcAttachments = Array (1)
    4 => Array (1)
      0 => Array (13)
        id => "1"
        title => ""
        description => ""
        file_name => "testlink_execution_status.png"
        file_type => "image/png"
        file_size => "7853"
        is_image => true
        date_added => "2018-11-22 12:05:39"
        inlineString => "[tlInlineImage]1[/tlInlineImage]"
        compression_type => "1"
        file_path => "nodes_hierarchy/4/d1e3d7c6d474264ce13..."
        fk_id => "4"
        fk_table => "nodes_hierarchy"

but 1.9.18:

->tcAttachments = Array (1)
    4 => null

Same with latest git master version.

config.inc.php is all on default.
custom_config.inc.php have only:
    $tlCfg->smarty_debug = true;
    $tlCfg->exec_cfg->steps_exec_attachments = false;
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL (mariadb Ver 15.1 Distrib 10.1.37-MariaDB)
BrowserMozilla Firefox 60.3.0esr
PHP VersionPHP 7.0.30-0+deb9u1
TestCaseID
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Filespng file icon 02 - 1.9.18_Test_Execution_NOK.png [^] (184,734 bytes) 2018-11-22 15:07


png file icon 01 - 1.9.18_Test_Specification_OK.png [^] (201,401 bytes) 2018-11-22 15:08


png file icon 03 - GIT_master_Test_Execution_OK.png [^] (193,188 bytes) 2018-11-26 11:00

- Relationships
child of 0008397assignedfman Availables hot-fixes for 1.9.18 & How To get full fixed package from GitHub 

-  Notes
(0028257)
fman (administrator)
2018-11-22 19:25

1) Please get latest code from github, do fresh install , retest and provide feedback.


2) Test Case Attachment has been refactored to be Test Case Version Attachment,
this has been described in wiki on github.
If you have upgraded your TestLink installation (This information has not been provided by reporter) you need to run all sql scripts that are responsible of upgrading attachment data
(0028261)
hagbard (reporter)
2018-11-23 11:36

1) Still reproducible with a fresh install of the latest github code

2) My department found this bug in our productive testlink installation.
I finally did the upgrade from 1.9.10 to 1.9.18 and of course i insert every single sql-script (1.9.11, 1.9.12, ...)
But to make sure that this bug is not a result of my upgrade process or any misconfiguration, i wrote this bugreport based on a fresh 1.9.18 installation.
(0028262)
fman (administrator)
2018-11-23 14:56

Hi
thanks for the details.

I'm going to work on this.
(0028263)
hagbard (reporter)
2018-11-23 15:06

thank u for your quick response.
(0028264)
fman (administrator)
2018-11-23 19:21

https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/0af0b2e2530457ef64f7703985a797e8c4d10fe6 [^]
(0028272)
hagbard (reporter)
2018-11-26 11:02

Its now possible to see and download attachments in Test Execution mode.
Verified with fresh install of latest github code.

- Issue History
Date Modified Username Field Change
2018-11-22 15:07 hagbard New Issue
2018-11-22 15:07 hagbard File Added: 02 - 1.9.18_Test_Execution_NOK.png
2018-11-22 15:08 hagbard File Added: 01 - 1.9.18_Test_Specification_OK.png
2018-11-22 19:25 fman Note Added: 0028257
2018-11-22 19:25 fman Assigned To => fman
2018-11-22 19:25 fman Status new => feedback
2018-11-23 11:36 hagbard Note Added: 0028261
2018-11-23 11:36 hagbard Status feedback => assigned
2018-11-23 14:56 fman Note Added: 0028262
2018-11-23 15:06 hagbard Note Added: 0028263
2018-11-23 19:21 fman QA Team - Task Workflow Status => READY FOR TESTING
2018-11-23 19:21 fman Note Added: 0028264
2018-11-23 19:21 fman Status assigned => resolved
2018-11-23 19:21 fman Fixed in Version => 1.9.19 (2019 Q1)
2018-11-23 19:21 fman Resolution open => fixed
2018-11-23 19:21 fman Relationship added child of 0008397
2018-11-26 11:00 hagbard File Added: 03 - GIT_master_Test_Execution_OK.png
2018-11-26 11:02 hagbard Note Added: 0028272



Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker