ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
SUMMARY
Unable to order the ISO/templates in the UI
Steps to reproduce the issue
-
Login as admin user
-
Navigate to Images> Iso
-
Register a sample iso (as a admin user)
-
Try to move the Order the registerd iso
Move to the top
Move to the bottom
Move up one row
Move down one row
Similarly for Images> Templates
- It works partially
Api calls
https://cloudstack.apache.org/api/apidocs-4.17/apis/updateIso.html
In the backend updateIso api call is executed with sorkey
It updates the database table vm_template.sort_key
MariaDB [cloud]> select name,sort_key from vm_template where format='iso' ;
+---------------------------------+----------+
| name | sort_key |
+---------------------------------+----------+
| vmware-tools.iso | 5 |
| xs-tools.iso | 3 |
| v1.24.0-Kubernetes-Binaries-ISO | 6 |
| v1.23.3-Kubernetes-Binaries-ISO | 4 |
| v1.22.6-Kubernetes-Binaries-ISO | 2 |
| rocky | 7 |
+---------------------------------+----------+
6 rows in set (0.00 sec
EXPECTED RESULTS
Admin User should be able to order the iso's and template based on his requirement
ACTUAL RESULTS
user is unable to order the iso's and template based on his requirement

ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
SUMMARY
Unable to order the ISO/templates in the UI
Steps to reproduce the issue
Login as admin user
Navigate to Images> Iso
Register a sample iso (as a admin user)
Try to move the Order the registerd iso
Move to the top
Move to the bottom
Move up one row
Move down one row
Similarly for Images> Templates
Api calls
https://cloudstack.apache.org/api/apidocs-4.17/apis/updateIso.html
In the backend updateIso api call is executed with sorkey
It updates the database table vm_template.sort_key
EXPECTED RESULTS
ACTUAL RESULTS