abh1sar commented on issue #11922: URL: https://github.com/apache/cloudstack/issues/11922#issuecomment-3460938714
The UI is taking the uuid of the last resource that was opened before BackupSchedules. For resources that are not vm, an Instance selection dialog is shown. https://github.com/user-attachments/assets/ef6b3cff-1d9a-4717-b3ac-8ed525276817 [ui](https://github.com/apache/cloudstack/tree/main/ui)/[src](https://github.com/apache/cloudstack/tree/main/ui/src)/[views](https://github.com/apache/cloudstack/tree/main/ui/src/views)/[compute](https://github.com/apache/cloudstack/tree/main/ui/src/views/compute)/[backup](https://github.com/apache/cloudstack/tree/main/ui/src/views/compute/backup)/CreateBackupSchedule.vue ``` computed: { resourceType () { if (!this.resource) return 'none' if (this.resource.vmstate !== undefined || this.resource.guestosid !== undefined || this.resource.hypervisor !== undefined || this.resource.backupofferingid !== undefined || this.resource.serviceofferingid !== undefined) { return 'vm' } ``` But the code above is recognizing a volume as a vm (this.resource.vmstate is set for volumes). So it is not showing the vm selection dialog. Ideally it should not consider the old resource at all and always show the instance selection dialog. -- 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]
