Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008417TestLinkAPI - XMLRPCpublic2018-10-17 12:392018-11-09 09:01
Assigned Tofman 
PlatformOSOS Version
Product Version1.9.18 (2018 Q3) 
Fixed in Version1.9.19 (2019 Q1) 
Summary0008417: Cannot download attachments to test cases
DescriptionWhen attempting to download attachments to test cases by calling tl.getTestCaseAttachments() on the XML-RPC-API only an empty string is returned, despite file(s) beeing attached to the test case.
Steps To Reproduce* Attach a file to a testcase
* Call tl.getTestCaseAttachments() with the ID of the above altered test case
Additional InformationThis bug happened only after updating from 1.9.17 to 1.9.18 yesterday.
I first thought that it had something to do with the testlink-java-api, but a "normal" XML-RPC-API-call e.g. via browser addons for that purpose yields the same result.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserChrome, Opera
PHP Version7.1
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Files

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

-  Notes
fman (administrator)
2018-10-17 16:55

on 1.9.18 attachment management has been changed, then this means that

1. XMLRPC Server code need to be changed (need to check if already done)
2. Clients need to be changed also.

you can read details on [^]

apologize for the inconvenience.
kaiadelmann (reporter)
2018-10-19 07:38

I created a fix for this one method and started a pull request.
fman (administrator)
2018-10-19 15:37

Pull Request done [^]
hughkay (reporter)
2018-11-09 08:53

@kaiadelmann, @fman: What's the actual (functional) diff of the file?
git reports that the whole file content was changed, but obviously this is not the case. Which method is affected?
kaiadelmann (reporter)
2018-11-09 08:59

@hughkay: The affected method is getTestCaseAttachments().
hughkay (reporter)
2018-11-09 09:01

@kaiadelmann: Thanks a lot! That saves me lots of work merging the updated file to my existing Testlink project.

- Issue History
Date Modified Username Field Change
2018-10-17 12:39 kaiadelmann New Issue
2018-10-17 16:55 fman Note Added: 0028030
2018-10-19 07:38 kaiadelmann Note Added: 0028041
2018-10-19 15:37 fman Note Added: 0028043
2018-10-19 15:37 fman QA Team - Task Workflow Status => READY FOR TESTING
2018-10-19 15:37 fman Status new => resolved
2018-10-19 15:37 fman Fixed in Version => 1.9.19 (2019 Q1)
2018-10-19 15:37 fman Resolution open => fixed
2018-10-19 15:37 fman Assigned To => fman
2018-10-19 15:37 fman Relationship added child of 0008397
2018-11-09 08:53 hughkay Note Added: 0028205
2018-11-09 08:59 kaiadelmann Note Added: 0028206
2018-11-09 09:01 hughkay Note Added: 0028207

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker