Title: UI - SQL error when searching/filtering on accountuser page · Issue #7165 · apache/cloudstack · GitHub
Open Graph Title: UI - SQL error when searching/filtering on accountuser page · Issue #7165 · apache/cloudstack
X Title: UI - SQL error when searching/filtering on accountuser page · Issue #7165 · apache/cloudstack
Description: ISSUE TYPE Bug Report COMPONENT NAME UI CLOUDSTACK VERSION Tested on 4.17.2.0 4.17.0.1 CONFIGURATION Standard install. OS / ENVIRONMENT Rocky Linux 8 SUMMARY I am getting the following error message in the web console when trying to sear...
Open Graph Description: ISSUE TYPE Bug Report COMPONENT NAME UI CLOUDSTACK VERSION Tested on 4.17.2.0 4.17.0.1 CONFIGURATION Standard install. OS / ENVIRONMENT Rocky Linux 8 SUMMARY I am getting the following error messag...
X Description: ISSUE TYPE Bug Report COMPONENT NAME UI CLOUDSTACK VERSION Tested on 4.17.2.0 4.17.0.1 CONFIGURATION Standard install. OS / ENVIRONMENT Rocky Linux 8 SUMMARY I am getting the following error messag...
Opengraph URL: https://github.com/apache/cloudstack/issues/7165
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UI - SQL error when searching/filtering on accountuser page","articleBody":"\r\n##### ISSUE TYPE\r\n * Bug Report\r\n\r\n##### COMPONENT NAME\r\n~~~\r\nUI\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\nTested on\r\n* 4.17.2.0\r\n* 4.17.0.1\r\n\r\n##### CONFIGURATION\r\nStandard install.\r\n\r\n##### OS / ENVIRONMENT\r\nRocky Linux 8\r\n\r\n##### SUMMARY\r\nI am getting the following error message in the web console when trying to search for a specific user account.\r\n\r\n```\r\nRequest failed. (530)\r\nCaught: com.mysql.cj.jdbc.ClientPreparedStatement: SELECT user_view.id, user_view.uuid, user_view.username, user_view.password, user_view.firstname, user_view.lastname, user_view.email, user_view.state, user_view.api_key, user_view.secret_key, user_view.created, user_view.removed, user_view.timezone, user_view.registration_token, user_view.is_registered, user_view.incorrect_login_attempts, user_view.account_id, user_view.account_uuid, user_view.account_name, user_view.account_type, user_view.account_role_id, user_view.domain_id, user_view.domain_uuid, user_view.domain_name, user_view.domain_path, user_view.job_id, user_view.job_uuid, user_view.job_status, user_view.default, user_view.source FROM user_view WHERE user_view.account_type != 5 AND user_view.id != 1 AND (user_view.username LIKE x'257573657225' OR user_view.firstname LIKE x'257573657225' OR user_view.lastname LIKE x'257573657225' OR user_view.email LIKE x'257573657225' OR user_view.state LIKE x'257573657225' OR user_view.account_name LIKE x'257573657225' OR user_view.account_type LIKE ** NOT SPECIFIED ** ) AND user_view.removed IS NULL ORDER BY user_view.id ASC LIMIT 0, 50\r\n```\r\n\r\nThe page I am trying to search on is the `/#/accountuser` page.\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n1. Log in to CloudStack UI\r\n2. Click on 'Accounts'\r\n3. Click on any account\r\n4. Click on 'View Users'\r\n5. On the user list page (i.e. the /#/accountuser page, eg. https://cloudstack.example.com/client/#/accountuser), use the search box at the top right of the user table.\r\n6. The 'Request failed' error appears.\r\n\r\n##### EXPECTED RESULTS\r\nThe user table should be filtered by the search.\r\n\r\n##### ACTUAL RESULTS\r\nA '500 Internal Server Error.' page is displayed.\r\n","author":{"url":"https://github.com/kohrar","@type":"Person","name":"kohrar"},"datePublished":"2023-02-02T22:16:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7165/cloudstack/issues/7165"}
| 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:c3c12c71-4428-3534-0e85-cda4afbf9e36 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5C8:25EAB2:21348CE:2F51B5B:6A50E98C |
| html-safe-nonce | ed3e0dc6e3aa1f85127c59098c13da6808e9e88db22f65ae7928e4a6516a9241 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUM4OjI1RUFCMjoyMTM0OENFOjJGNTFCNUI6NkE1MEU5OEMiLCJ2aXNpdG9yX2lkIjoiMTMxMDQ4OTM5MTAzMDkyMTYxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d84b0e0007b8c9366d389115ea1e41f628c772dde8b9745eff3ee59c5a046408 |
| hovercard-subject-tag | issue:1568866424 |
| 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/7165/issue_layout |
| twitter:image | https://opengraph.githubassets.com/90d2c572a87033f195d8a1ff28df55e73591b5d4a72fa399f8f2e67a0bf0aac9/apache/cloudstack/issues/7165 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/90d2c572a87033f195d8a1ff28df55e73591b5d4a72fa399f8f2e67a0bf0aac9/apache/cloudstack/issues/7165 |
| og:image:alt | ISSUE TYPE Bug Report COMPONENT NAME UI CLOUDSTACK VERSION Tested on 4.17.2.0 4.17.0.1 CONFIGURATION Standard install. OS / ENVIRONMENT Rocky Linux 8 SUMMARY I am getting the following error messag... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kohrar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | fb19d617b534959801b4b7453938ecf1dfa22131 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width