Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-4583

[UI] Missing validation on storage offload form

XMLWordPrintable

      Description of problem:

      The storage offload form component allows saving with partially filled fields (e.g. plugin set but secret/product empty). The partial config is silently dropped with no validation error.
      

      Version-Release number of selected component (if applicable):

      MTV 2.11.0
      

      How reproducible:

      Always 
      

      Steps to Reproduce:

      1. Go to Storage Maps > Create storage map (form)
      2. Select a vSphere source provider and the host target provider
      3. Expand "Offload options (optional)" on a mapping row
      4. Select "vSphere XCOPY" as the Offload plugin
      5. Leave Storage secret and Storage product empty
      6. Fill in the remaining required fields (name, source/target storage)
      7. Click Create
      

      Actual results:

      The storage map is created successfully with no errors. However the CR
      does not contain any offloadPlugin data — the user's plugin selection
      was silently dropped.
      

      Expected results:

      Either:
      - Show a validation error when only some offload fields are filled
        (e.g. "All offload fields are required when an offload plugin is selected"), or
      - Warn the user that incomplete offload configuration will be ignored
      

      Additional info:

      
      

              aturgema Aviv Turgeman
              rh-ee-pabreu Pedro Abreu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: