Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Incorrect Data Center for the "Upload Image" dialog #923

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 16, 2024

  1. Correct Data Center for the "Upload Image" dialog

    Signed-off-by: Stepan Ermakov <sermakov@orionsoft.ru>
    
    This PR fixes the following issue: incorrect Data Center is displayed when uploading a disk image from "Storage Domain Disks" UI.
    
    Steps to reproduce:
    
        1. Create a Storage Domain at non-Default Data Center.
        2. Open the Storage -> Domains -> <The created Storage Domain> -> Disks page.
        3. Select the Upload -> Start menu item. The "Upload image" dialog is displayed.
    
    Expected behavior:
        The Data Center filed is disabled and displays the name of the non-Default Data Center.
    Current behavior:
        The Data Center field is disabled and display the name of the Default Data Center.
    
    Fixed in the following way: when "Upload image" dialog is displayed then query the Storage Domain details with information about its Data Center and select the Storage Domain's Data Center in the "Data Center" field
    sermakov-orion committed May 16, 2024
    Configuration menu
    Copy the full SHA
    d5fba38 View commit details
    Browse the repository at this point in the history