Skip to content

Unable to order the ISO/templates in the UI  #7278

Description

@kiranchavala
ISSUE TYPE
  • Bug report
COMPONENT NAME
Componet:UI
Componet:api
CLOUDSTACK VERSION
4.18 nightly
4.17.2

SUMMARY

Unable to order the ISO/templates in the UI

Steps to reproduce the issue

  1. Login as admin user

  2. Navigate to Images> Iso

  3. Register a sample iso (as a admin user)

  4. 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

  1. 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 

iso

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions