Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-1061

Trying to save a project inside itself causes a lot of problems

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.2
    • Component/s: None
    • Sprint:
      4.1.2

      Description

      Open a project, then use "save as" to save in C: in a folder called "myproj". Next, do save-as again, and save as "myproj" with the parent folder set to "C:\myproj", i.e. save the project inside itself with the same name. BlueJ will recurse indefinitely trying to save forever-nested myproj items. We should spot this case, and not let the user save the project inside itself.

        Attachments

          Activity

            People

            • Assignee:
              nccb Neil Brown
              Reporter:
              nccb Neil Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: