Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-1251

[pig] Copy feature doesn't list the new copy of the file until page refresh

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: con.pig
    • Labels:
      None

      Description

      Steps:
      1) Go to pig editor:
      2) Click "Save" in left column.
      //exp: "Copy" and "Delete" options will now appear in left column
      3) Click "Copy"
      //expect that file has been copied into a new name
      4) Go to Scripts view within Pig Editor
      //exp: Should see the copied file
      //act: Copied file is not listed
      5) You'll need to refresh your browser's page to see the new copies. I don't think the user should need to refresh the browser's page.
      Also, both the copies and the original scripts have duplicate names:
      Unsaved script (Copy) ls
      Unsaved script (Copy) ls
      Unsaved script ls
      Unsaved script ie A LOAD user systest data
      ...instead of something like "Unsaved script 1", "Unsaved script 2", ... and "Unsaved script (Copy) 1", "Unsaved script (Copy) 2", etc... is this expected, and do you foresee that this will cause any issues? So far I don't see any functional issues.

        Attachments

          Activity

            People

            • Assignee:
              enricoberti Enrico Berti
              Reporter:
              enricoberti Enrico Berti
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: