Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008979TestLinkAPI - XMLRPCpublic2020-08-13 22:282020-08-14 08:58
Assigned Tofman 
PlatformLinuxOSCentos 7OS VersionCentos 7
Product Version1.9.19 (2019 Q1) 
Fixed in Version1.9.20_fixed 
Summary0008979: API error. Response with malformed XML
DescriptionI am observing a malformed XML responce with the Python and Perl API.
I am using Testlink 1.9.19. My current version is 1.9.17 and I don't have any issues for API on this version.
I also tested my perl and python modules for API interaction on the 1.9.20 version and it works well. While testing 1.9.20 , I observed some issues and also seems to have been reported by many others.Thats why I don't to use this version. ..
I see below error at the beginning of the XML API response

XML or text declaration not at start of entity at line 3, column 0, byte 2 at /usr/lib64/perl5/vendor_perl/XML/ line 187.

Steps To ReproduceThis issue can be produced/observed using below code

use TestLink::API;
my $tl = TestLink::API->new('', [^] 'xxxxapi-keyxxxxx');
#Look up test definitions
my $projects = $tl->getProjects();
print "$projects";

or Python code

import testlink
tls = testlink.TestlinkAPIClient('', [^] 'xxxxxxxapi-keyxxxxxxxxx')
print tls.getProjects()
TagsNo tags attached.
Database (MySQL,Postgres,etc)mysql
PHP Versionphp-7.0.32-1
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
fman (administrator)
2020-08-14 08:57
edited on: 2020-08-14 08:58

1. please upgrade to code in branch testlink_1_9_20_fixed
2. I can work of this only if you can reproduce it using our PHP clients, that is our reference, can not do test in another languages
3. if issue is not present in 1.9.20 we will not act

- Issue History
Date Modified Username Field Change
2020-08-13 22:28 amoljirge New Issue
2020-08-14 08:57 fman Note Added: 0029891
2020-08-14 08:57 fman QA Team - Task Workflow Status => TBD
2020-08-14 08:57 fman Priority immediate => high
2020-08-14 08:58 fman Note Edited: 0029891 View Revisions
2020-08-14 08:58 fman Status new => resolved
2020-08-14 08:58 fman Fixed in Version => 1.9.20_fixed
2020-08-14 08:58 fman Resolution open => fixed
2020-08-14 08:58 fman Assigned To => fman

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker