cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-10253) JSON response returns boolean as string
Date Wed, 24 Jan 2018 18:03:00 GMT


ASF GitHub Bot commented on CLOUDSTACK-10253:

rhtyd commented on issue #2428: CLOUDSTACK-10253: JSON response for SuccessResponse as boolean
instead of string
   @marcaurele can you run smoketest against simulator in your local
environment and see if you can reproduce and fix the failure? You can look at Travis log (scroll
to the bottom, or see the raw logs), you'll find error such as following:
   Traceback (most recent call last):
     File "/home/travis/build/apache/cloudstack/test/integration/smoke/",
line 531, in test_ha_verify_fsm_available
       self.configureSimulatorHAProviderState(True, True, True, False)
     File "/home/travis/build/apache/cloudstack/test/integration/smoke/",
line 164, in configureSimulatorHAProviderState
       self.assertEqual(response.success, 'true')
   AssertionError: True != 'true'

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> JSON response returns boolean as string
> ---------------------------------------
>                 Key: CLOUDSTACK-10253
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>            Reporter: Marc-Aurèle Brothier
>            Assignee: Marc-Aurèle Brothier
>            Priority: Minor
> On the SuccessResponse for async call, the boolean value is returned as a quoted boolean
> {noformat}
> {"success": "true"}{noformat}
> instead of a JSON boolean:
> {noformat}
> {"success": true{noformat}

This message was sent by Atlassian JIRA

View raw message