phsm opened a new issue, #12729:
URL: https://github.com/apache/cloudstack/issues/12729
### problem
The search functionality in the UI has stopped working after updating to
Cloudstack 4.22.
The search functionality does not work on these pages:
- Accounts
- Templates
- ISOs
- Volumes
- Volume snapshots
- Snapshot policies
- Shared filesystems
The search functionality works on every other page that has search field.
When attempting searching on the affected pages, the following exception
appears in the browser console:
```
SearchView.vue:1596 TypeError: o.forEach is not a function
at Proxy.onSearch (AutogenView.vue:2001:21)
at v (runtime-core.esm-bundler.js:155:22)
at w (runtime-core.esm-bundler.js:164:21)
at le (runtime-core.esm-bundler.js:721:9)
at Proxy.onSearch (SearchView.vue:1596:12)
at v (runtime-core.esm-bundler.js:155:22)
at w (runtime-core.esm-bundler.js:164:21)
at le (runtime-core.esm-bundler.js:721:9)
at W (Search.js:71:7)
at v (runtime-core.esm-bundler.js:155:22)
P0 @ runtime-core.esm-bundler.js:226
T0 @ runtime-core.esm-bundler.js:204
v @ runtime-core.esm-bundler.js:158
w @ runtime-core.esm-bundler.js:164
le @ runtime-core.esm-bundler.js:721
onSearch @ SearchView.vue:1596
v @ runtime-core.esm-bundler.js:155
w @ runtime-core.esm-bundler.js:164
le @ runtime-core.esm-bundler.js:721
W @ Search.js:71
v @ runtime-core.esm-bundler.js:155
w @ runtime-core.esm-bundler.js:164
le @ runtime-core.esm-bundler.js:721
N @ Input.js:219
v @ runtime-core.esm-bundler.js:155
w @ runtime-core.esm-bundler.js:164
r @ runtime-dom.esm-bundler.js:369
```
### versions
Cloudstack version 4.22.1
Browsers: Chrome, Firefox
### The steps to reproduce the bug
1. Open any of the pages, for example Accounts.
2. Type something into the search bar.
3. Nothing happens visually. At the same time, an error is emitted into the
browser console.
...
### What to do about it?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]