Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4085

New Gradle project wizard allows to create project with same name

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.0
    • 12.0
    • Product Version: Apache NetBeans IDE 12.0-beta2
      Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
      Runtime: OpenJDK Runtime Environment 11.0.2+9
      System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)

    Description

      Steps to reproduce

      1. Started with clean user dir and cache dir
      2. New Project |Java with Gradle|Java application
      3. Provide the name - `duplicate-project`
      4. Provide a project location; example <userhome>/Netcat12/NBprojects
      5. Provide Description - Originally created project
      6. Click finish
      7. You will notice in the project explorer the new project node as Originally created project
      8. New Project |Java with Gradle|Java application
      9. Provide name `duplicate-project`
      10. Use the same above project location; example <userhome>/Netcat12/NBprojects
      11. Provide Description - I am a duplicate

      Expected behaviour

      Error banner describing that the project already exists

      Finish/Next buttons are disabled

      Actual Behaviour

      No error banner

      Finish is enabled

      Clicking Finish over-writes the existing project(directories are retained, but build.gradle, settings.gradle and gradle.properties are over-written)

      In project explorer we see the project node "I am a duplicate"

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lkishalmi Laszlo Kishalmi
            manikantannaren Manikantan Narender Nath

            Dates

              Created:
              Updated:

              Slack

                Issue deployment