Anonymous | Login | Signup for a new account | 2019-12-07 21:51 UTC | ![]() |
Main | My View | View Issues | Change Log | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0008417 | TestLink | API - XMLRPC | public | 2018-10-17 12:39 | 2018-11-09 09:01 | ||||||||
Reporter | kaiadelmann | ||||||||||||
Assigned To | fman | ||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||
Status | resolved | Resolution | fixed | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 1.9.18 (2018 Q3) | ||||||||||||
Fixed in Version | 1.9.19 (2019 Q1) | ||||||||||||
Summary | 0008417: Cannot download attachments to test cases | ||||||||||||
Description | When 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 Information | This 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. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Database (MySQL,Postgres,etc) | MySQL | ||||||||||||
Browser | Chrome, Opera | ||||||||||||
PHP Version | 7.1 | ||||||||||||
TestCaseID | |||||||||||||
QA Team - Task Workflow Status | READY FOR TESTING | ||||||||||||
Attached Files | |||||||||||||
![]() |
||||||
|
![]() |
|
(0028030) 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 https://github.com/TestLinkOpenSourceTRMS/testlink-code/wiki [^] apologize for the inconvenience. |
(0028041) kaiadelmann (reporter) 2018-10-19 07:38 |
I created a fix for this one method and started a pull request. |
(0028043) fman (administrator) 2018-10-19 15:37 |
Pull Request done https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/769daca9098629938700b62812ea9d96363ae309 [^] |
(0028205) 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? |
(0028206) kaiadelmann (reporter) 2018-11-09 08:59 |
@hughkay: The affected method is getTestCaseAttachments(). |
(0028207) 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. |
![]() |
|||
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 - 2019 MantisBT Team |