MantisBT - TestLink
View Issue Details
0008957TestLinkAPI - XMLRPCpublic2020-07-05 02:312020-07-08 23:47
maksonlee 
fman 
highmajoralways
resolvedfixed 
ubuntu18.04
1.9.20 
1.9.20_fixed 
Postgres
TBD
0008957: getProjectPlatforms function doesn't work
the following code return empty string on 1.9.20, but does work on 1.9.19.

args = { devKey: key, prefix: prefix }
platforms = @server.call('tl.getProjectPlatforms', args)
No tags attached.
Issue History
2020-07-05 02:31maksonleeNew Issue
2020-07-08 16:00fmanNote Added: 0029819
2020-07-08 16:16maksonleeNote Added: 0029820
2020-07-08 16:41maksonleeNote Added: 0029821
2020-07-08 19:27fmanQA Team - Task Workflow Status => TBD
2020-07-08 19:27fmanFixed in Version => 1.9.20_fixed
2020-07-08 19:29fmanNote Added: 0029822
2020-07-08 19:30fmanStatusnew => resolved
2020-07-08 19:30fmanResolutionopen => fixed
2020-07-08 19:30fmanAssigned To => fman
2020-07-08 23:37maksonleeNote Added: 0029823
2020-07-08 23:47maksonleeNote Added: 0029824

Notes
(0029819)
fman   
2020-07-08 16:00   
would you mind to provide the error you got?
(0029820)
maksonlee   
2020-07-08 16:16   
in this case, no error in server log.
(0029821)
maksonlee   
2020-07-08 16:41   
i see why, there are two new options for platform in 1.9.20, 'On Design' and 'On Execution', both of them need to be checked to make a platform return by getProjectPlatforms.
(0029822)
fman   
2020-07-08 19:29   
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/92a59cc48827ac6a558deb77b98a0211430cf002 [^]
(0029823)
maksonlee   
2020-07-08 23:37   
thanks.
(0029824)
maksonlee   
2020-07-08 23:47   
so do we need to add these two options into createPlatform function too?