Title: listOsTypes respond returns isuserdefined as string · Issue #2529 · apache/cloudstack · GitHub
Open Graph Title: listOsTypes respond returns isuserdefined as string · Issue #2529 · apache/cloudstack
X Title: listOsTypes respond returns isuserdefined as string · Issue #2529 · apache/cloudstack
Description: ISSUE TYPE Bug Report Enhancement COMPONENT NAME API CLOUDSTACK VERSION 4.11 CONFIGURATION N/A OS / ENVIRONMENT N/A SUMMARY listOsTypes returns isuserdefined as json string, instead of json bool STEPS TO REPRODUCE $ cs listOsTypes id=1ee...
Open Graph Description: ISSUE TYPE Bug Report Enhancement COMPONENT NAME API CLOUDSTACK VERSION 4.11 CONFIGURATION N/A OS / ENVIRONMENT N/A SUMMARY listOsTypes returns isuserdefined as json string, instead of json bool ST...
X Description: ISSUE TYPE Bug Report Enhancement COMPONENT NAME API CLOUDSTACK VERSION 4.11 CONFIGURATION N/A OS / ENVIRONMENT N/A SUMMARY listOsTypes returns isuserdefined as json string, instead of json bool ST...
Opengraph URL: https://github.com/apache/cloudstack/issues/2529
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"listOsTypes respond returns isuserdefined as string","articleBody":"\u003c!--\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release and master branch are affected too.\r\nAlways add information AFTER of these HTML comments, but no need to delete the comments.\r\n--\u003e\r\n\r\n##### ISSUE TYPE\r\n\u003c!-- Pick one below and delete the rest --\u003e\r\n * Bug Report\r\n * Enhancement\r\n\r\n##### COMPONENT NAME\r\n\u003c!--\r\nCategorize the issue, e.g. API, VR, VPN, UI, etc.\r\n--\u003e\r\n~~~\r\nAPI\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n\u003c!--\r\nNew line separated list of affected versions, commit ID for issues on master branch.\r\n--\u003e\r\n\r\n~~~\r\n4.11\r\n~~~\r\n\r\n##### CONFIGURATION\r\n\u003c!--\r\nInformation about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise\r\n--\u003e\r\nN/A \r\n\r\n##### OS / ENVIRONMENT\r\n\u003c!--\r\nInformation about the environment if relevant, N/A otherwise\r\n--\u003e\r\nN/A \r\n\r\n##### SUMMARY\r\n\u003c!-- Explain the problem/feature briefly --\u003e\r\nlistOsTypes returns `isuserdefined` as json string, instead of json bool\r\n\r\n##### STEPS TO REPRODUCE\r\n\u003c!--\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.\r\n\r\nFor new features, show how the feature would be used.\r\n--\u003e\r\n\r\n\u003c!-- Paste example playbooks or commands between quotes below --\u003e\r\n~~~\r\n $ cs listOsTypes id=1ee61d39-4b9a-11e7-8fea-0242ac110003 --region simulator \r\n~~~\r\n\r\n\u003c!-- You can also paste gist.github.com links for larger files --\u003e\r\n\r\n##### EXPECTED RESULTS\r\n\u003c!-- What did you expect to happen when running the steps above? --\u003e\r\n\r\n~~~json\r\n{\r\n \"count\": 1, \r\n \"ostype\": [\r\n {\r\n \"description\": \"Windows XP SP3 (32-bit)\", \r\n \"id\": \"1ee61d39-4b9a-11e7-8fea-0242ac110003\", \r\n \"isuserdefined\": false, \r\n \"oscategoryid\": \"1ede7e9a-4b9a-11e7-8fea-0242ac110003\"\r\n }\r\n ]\r\n}\r\n~~~\r\n\r\n##### ACTUAL RESULTS\r\n\u003c!-- What actually happened? --\u003e\r\n\r\n\u003c!-- Paste verbatim command output between quotes below --\u003e\r\n~~~json\r\n{\r\n \"count\": 1, \r\n \"ostype\": [\r\n {\r\n \"description\": \"Windows XP SP3 (32-bit)\", \r\n \"id\": \"1ee61d39-4b9a-11e7-8fea-0242ac110003\", \r\n \"isuserdefined\": \"false\", \r\n \"oscategoryid\": \"1ede7e9a-4b9a-11e7-8fea-0242ac110003\"\r\n }\r\n ]\r\n}\r\n~~~\r\n","author":{"url":"https://github.com/resmo","@type":"Person","name":"resmo"},"datePublished":"2018-04-04T07:29:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2529/cloudstack/issues/2529"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b4c5e632-9cca-3b85-5905-5a7649b18df7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6E4:113906:A4C7C3:DFFB87:6A515CED |
| html-safe-nonce | e98d0d0f92a82a50769ac967c9472f16f7b34750b56c8c9b6befbe845fec1f42 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkU0OjExMzkwNjpBNEM3QzM6REZGQjg3OjZBNTE1Q0VEIiwidmlzaXRvcl9pZCI6IjI4MTY0NDkwMzQ1NDA1Njc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 86ac63f67aeed927ac485d1473e74f54659c2b95699b01e8a3c89c59cc38fd52 |
| hovercard-subject-tag | issue:311115371 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/2529/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b55266b1b15a260b7fd473cbc7f3e899b13e4fb4b81cdc832d9945d5373b23f/apache/cloudstack/issues/2529 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b55266b1b15a260b7fd473cbc7f3e899b13e4fb4b81cdc832d9945d5373b23f/apache/cloudstack/issues/2529 |
| og:image:alt | ISSUE TYPE Bug Report Enhancement COMPONENT NAME API CLOUDSTACK VERSION 4.11 CONFIGURATION N/A OS / ENVIRONMENT N/A SUMMARY listOsTypes returns isuserdefined as json string, instead of json bool ST... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | resmo |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2eeb434949a926fad21064b4d395a54759f7a0b2 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width