weizhouapache opened a new issue, #10838:
URL: https://github.com/apache/cloudstack/issues/10838

   ### problem
   
   Steps to reproduce the issue
   - create 1000 projects
   - create a network
   - add network permission
   - only the last 500 projects are listed in the dropdown
   
   
![Image](https://github.com/user-attachments/assets/509f4226-cd20-4e07-8f6b-18c5e9cb586b)
   
   this issue should exist in some other pages as well, including vm deployment 
wizard in 4.20.
   
   
![Image](https://github.com/user-attachments/assets/23aca144-f143-4172-be8c-3218b1c2c13c)
   
   ```
   ui/src/components/header/ProjectMenu.vue:        api('listProjects', { 
listAll: true, page: page, pageSize: 500, details: 'min', showIcon: true 
}).then(json => {
   ui/src/components/header/ProjectMenu.vue:      return 
!Object.prototype.hasOwnProperty.call(store.getters.apis, 'listProjects')
   ui/src/config/section/project.js:  permission: ['listProjects'],
   ui/src/views/AutogenView.vue:      api('listProjects', { id: projectId, 
listall: true, details: 'min' }).then(json => {
   ui/src/views/AutogenView.vue:        if (this.apiName === 'listProjects' && 
this.items.length > 0) {
   ui/src/views/compute/wizard/OwnershipSelection.vue:      api('listProjects', 
{
   ui/src/views/dashboard/UsageDashboard.vue:      api('listProjects', { id: 
store.getters.project.id }).then(json => {
   ui/src/views/image/UpdateTemplateIsoPermissions.vue:      
api('listProjects', {
   ui/src/views/infra/network/DedicatedVLANTab.vue:      api('listProjects', {
   ui/src/views/network/CreateNetworkPermission.vue:      api('listProjects', 
params).then(json => {
   ui/src/views/network/CreateNetworkPermission.vue:        const listProjects 
= json.listprojectsresponse.project || []
   ui/src/views/network/CreateNetworkPermission.vue:        this.projects = 
listProjects
   ui/src/views/network/CreateSharedNetworkForm.vue:      api('listProjects', 
params).then(json => {
   ui/src/views/network/ReservePublicIP.vue:      api('listProjects', {
   ui/src/views/tools/ImportUnmanagedInstance.vue:          list: 
'listProjects',
   ui/src/views/tools/ManageVolumes.vue:      api('listProjects', {
   ```
   
   in the project dropdown, all projects are listed, that's fine. 
   `ProjectMenu.vue` is fine
   
   
   
   ### versions
   
   ACS 4.19/4.20
   UI
   
   ### The steps to reproduce the bug
   
   1.
   2.
   3.
   ...
   
   
   ### 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]

Reply via email to