Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
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
- Started with clean user dir and cache dir
- New Project |Java with Gradle|Java application
- Provide the name - `duplicate-project`
- Provide a project location; example <userhome>/Netcat12/NBprojects
- Provide Description - Originally created project
- Click finish
- You will notice in the project explorer the new project node as Originally created project
- New Project |Java with Gradle|Java application
- Provide name `duplicate-project`
- Use the same above project location; example <userhome>/Netcat12/NBprojects
- 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
- is caused by
-
NETBEANS-2406 New Java Application with Gradle dialog lacks validation
-
- Open
-
- is duplicated by
-
NETBEANS-2129 New Gradle Java Application doesn't check if Application exists in Path
-
- Closed
-