Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008957TestLinkAPI - XMLRPCpublic2020-07-05 02:312020-07-08 23:47
Reportermaksonlee 
Assigned Tofman 
PriorityhighSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSubuntuOS Version18.04
Product Version1.9.20 
Fixed in Version1.9.20_fixed 
Summary0008957: getProjectPlatforms function doesn't work
Descriptionthe 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)
TagsNo tags attached.
Database (MySQL,Postgres,etc)Postgres
Browser
PHP Version
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
(0029819)
fman (administrator)
2020-07-08 16:00

would you mind to provide the error you got?
(0029820)
maksonlee (reporter)
2020-07-08 16:16

in this case, no error in server log.
(0029821)
maksonlee (reporter)
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 (administrator)
2020-07-08 19:29

https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/92a59cc48827ac6a558deb77b98a0211430cf002 [^]
(0029823)
maksonlee (reporter)
2020-07-08 23:37

thanks.
(0029824)
maksonlee (reporter)
2020-07-08 23:47

so do we need to add these two options into createPlatform function too?

- Issue History
Date Modified Username Field Change
2020-07-05 02:31 maksonlee New Issue
2020-07-08 16:00 fman Note Added: 0029819
2020-07-08 16:16 maksonlee Note Added: 0029820
2020-07-08 16:41 maksonlee Note Added: 0029821
2020-07-08 19:27 fman QA Team - Task Workflow Status => TBD
2020-07-08 19:27 fman Fixed in Version => 1.9.20_fixed
2020-07-08 19:29 fman Note Added: 0029822
2020-07-08 19:30 fman Status new => resolved
2020-07-08 19:30 fman Resolution open => fixed
2020-07-08 19:30 fman Assigned To => fman
2020-07-08 23:37 maksonlee Note Added: 0029823
2020-07-08 23:47 maksonlee Note Added: 0029824



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker