Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-16260

Allows users to choose a file if wrangler workspace is not available

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.3.0
    • Component/s: UI
    • Rank:
      1|i00tlz:

      Description

      TL;DR- Have a way for user to choose a file from wrangler transform when the underlying workspace is deleted

      Longer version-

      Steps to reproduce,

      1. Create a pipeline with wrangler transform.
      2. Configure the wrangler plugin by clicking on the "Wrangle" button in the transform
      3. Choose a file and apply directives and click "Apply"
      4. Save the pipeline as draft
      5. Go to wrangler and delete the workspace created as part of step-2
      6. Go back to pipeline draft and click on "Wrangle" button in wrangler transform
      7. The user should see "Unable to load data" view in UI

      However after step-7 the user has no option to choose the same file again and re-create the workspace in the same wrangler transform

      This is because we have a workspaceId associated with the wrangler transform and if the workspaceId is available for some reason we disable the option to choose another file. This is incorrect especially if the workspace is deleted. 

       

       

        Attachments

          Activity

            People

            • Assignee:
              ajai Ajai Narayan
              Reporter:
              ajai Ajai Narayan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: