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

[UI] The "Target project" field value in both create/edit plan displayes only target provider's project as a selectable option

XMLWordPrintable

      Description of problem:

      When creating/editing a plan of which it's project name value !== the default project, i.e. openshift-mtv, the select-able values of the "Target project" field are only the project of the selected "target provider" instead of proposing all available projects to be used as a target. 

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

      2.10

      How reproducible:

      Always

      Steps to Reproduce:

      See screencast

      Actual results:

      only the target provider's project is selectable

      Expected results:

      All valid available projects should be selectable

      Additional info:

      we use values returned by:
       useProviderInventory<OpenShiftNamespace[]>({provider) 
      
      instead of calling:
      useK8sWatchResource<K8sResourceCommon[]>({isList: true, kind: isUpstream() ? 'Namespace' : 'Project'})  )
      
      
      

       

              sgratch@redhat.com Sharon Gratch
              sgratch@redhat.com Sharon Gratch
              Pedro Abreu Pedro Abreu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: