This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 210485

Summary: Creating a project, "Copy files from Sources Folder to another location" should change to project name
Product: php Reporter: luislobo
Component: ProjectAssignee: Tomas Mysik <tmysik>
Status: REOPENED ---    
Severity: normal CC: vriha
Priority: P4    
Version: 7.2   
Hardware: All   
OS: All   
See Also:
Issue Type: DEFECT Exception Reporter:
Attachments: Notice Copy to Folder. Should be PhpProject2 instead of PhpProject1
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7

Description luislobo 2012-04-01 12:23:26 UTC
Created attachment 117603 [details]
Notice Copy to Folder. Should be PhpProject2 instead of PhpProject1

Create a new Project. Initially named PhpProject1, changed to PhpProject2.
Advance to step 3. Run configuration. Copy to folder still defaults to PhpProject1, when it should change to PhpProject2.
Comment 1 Tomas Mysik 2012-04-02 09:28:30 UTC
Will have a look at it.

Thanks for reporting.
Comment 2 Tomas Mysik 2012-04-12 11:56:26 UTC
I cannot reproduce your issue, it works for me as expected. If you still can reproduce, please reopen this issue and provide _exact_ steps to reproduce.


Product Version: NetBeans IDE Dev (Build 20120412-9eb622838cd5)
Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01
System: Linux version 3.0.0-17-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 3 Vladimir Riha 2012-06-19 09:14:10 UTC
I can reproduce it

To reproduce:
- have created some projects like PhpProject1 etc.
- invoke New Project dialog, select PHP Application
- specify some custom name, say ProjectA (the dialog was originally offering PhpProject2). Now Sources Folder and Project Name reflect the  new name
- Next
- "Copy files from Sources Folder to another location" is unchecked
  - "Copy to Folder" contains path that contains "PhpProject2" although this name was never used
  - Project URL contains correctly ProjectA
- check the "Copy files from..."
  - "Copy to Folder" still contains PhpProject2
  - Project URL is changed to e.g. "http://localhost/PhpProject2/", so again it contains the "PhpProject2". This is probably correct, "Project URL" should follow "Copy to Folder" if selected

Product Version: NetBeans IDE 7.2 RC1 (Build 201206182200)
Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b05
System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)
Comment 4 luislobo 2012-06-29 13:15:58 UTC
I'm attaching screenshots
Comment 5 luislobo 2012-06-29 13:16:40 UTC
Created attachment 121557 [details]
Step 1
Comment 6 luislobo 2012-06-29 13:16:54 UTC
Created attachment 121558 [details]
Step 2
Comment 7 luislobo 2012-06-29 13:17:08 UTC
Created attachment 121559 [details]
Step 3
Comment 8 luislobo 2012-06-29 13:17:21 UTC
Created attachment 121560 [details]
Step 4
Comment 9 luislobo 2012-06-29 13:17:39 UTC
Created attachment 121561 [details]
Step 5
Comment 10 luislobo 2012-06-29 13:17:54 UTC
Created attachment 121563 [details]
Step 6
Comment 11 luislobo 2012-06-29 13:18:12 UTC
Created attachment 121564 [details]
Step 7
Comment 12 Tomas Mysik 2012-06-29 13:18:52 UTC
@luislobo: Screenshots are not needed anymore, the exact steps are already provided (in comment #3).

Comment 13 luislobo 2012-06-29 13:19:15 UTC
I have just tested it and it is still happening:

Product Version: NetBeans IDE Dev (Build 201206290002)
Updates: Updates available
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)
User directory: /home/lobo/.netbeans/dev
Cache directory: /home/lobo/.cache/netbeans/dev
Comment 14 Tomas Mysik 2012-06-29 13:26:13 UTC
Please, do NOT change the target milestone. This issue will be fixed for NB 7.3 (it is too late for NB 7.2, RC1 is already out).

Comment 15 Tomas Mysik 2012-09-21 05:55:01 UTC
Sorry, I do not think that this is P3...