Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4058

Promote To Project Chains Up To Parent Folder When Selected Folder Has Been Deleted

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.0.7
    • Fix Version/s: None
    • Component/s: Project Explorer
    • Labels:
      None
    • Environment:

      Aptana Studio 3, build: 3.0.7.201112281312
      Ubuntu 11.10
      Virtual Machine with Windows XP
      Windows 7

      Description

      If you delete a folder outside Studio, do not refresh the Local FileSystem node then select the deleted folder and invoke Promote to Project, Studio will truncate the path so the parent of the deleted folder is selected for deletion.

      Steps to Replicate :

      1) Create a folder and subfolder on the filesystem for this case
      2) Open Aptana Studio
      3) Navigate to the Step 1 subfolder via the Local FileSystem node
      4) Delete the subfolder from the operating system
      5) Select the subfolder from the Local FileSystem node
      6) Open the subfolder's context menu and select Promote to Project

      Actual Results :

      Studio will chain up one folder in the path and select the parent folder for Promotion. If you delete more than one level of tree depth and select the previously deepest folder for Promotion, Studio will again chain up one level in the path, however in this case the folder one level up in the tree is deleted and Studio will return an error message stating the selected folder does not exist.

      Expected Results :

      Invoking Promote to Project on a deleted folder should return an error.

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              jwitt Joel Witt
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Integration