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 235470 - "Delete" menu item doesn't delete file from project
Summary: "Delete" menu item doesn't delete file from project
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: 7.4_HR_FIX
Depends on:
Blocks:
 
Reported: 2013-09-03 19:24 UTC by soldatov
Modified: 2013-09-16 10:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2013-09-03 19:24:54 UTC
>Log Session: Tuesday, September 3, 2013 11:20:05 PM MSK
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 201309030001) (#5d845d9a38a9)
  Operating System        = Windows 7 version 6.1 running on amd64
  Java; VM; Vendor        = 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_25-b16


"Delete" menu item deletes file from disk, but file will appear after restart in Projects tab

Scenario:
- Create C/C++ Application project
- Call context menu on Source Files|main.cpp node
- Select Delete
- Press Yes
- Restart IDE
==> Source Files|main.cpp node exist again
Comment 1 Alexander Simon 2013-09-04 10:29:33 UTC
regression after fixing bug #233193
Comment 2 Alexander Simon 2013-09-04 10:32:45 UTC
rollback changes:
http://hg.netbeans.org/cnd-main/rev/806e58ac2c06
Comment 3 Alexander Simon 2013-09-04 10:44:55 UTC
Vladimir, please review fix.
Comment 4 Quality Engineering 2013-09-05 01:28:31 UTC
Integrated into 'main-silver', will be available in build *201309050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/806e58ac2c06
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #235470 "Delete" menu item doesn't delete file from project
Comment 5 soldatov 2013-09-05 07:39:21 UTC
verified in trunk

>System Info: 
  Product Version         = NetBeans IDE Dev (Build 201309050001) (#00ee742064ea)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_25-b15
Comment 6 Egor Ushakov 2013-09-05 14:24:20 UTC
fix looks safe
Comment 7 Alexander Simon 2013-09-09 06:40:11 UTC
integrated in releases:
http://hg.netbeans.org/releases/rev/119da4a1360d
Comment 8 soldatov 2013-09-16 10:40:58 UTC
verified in NetBeans IDE 7.4 RC1 (Build 201309152201)

I can delete a new file or a file in old project (for example: create Welcome and restart IDE), but original scenario is not fixed (see issue 235743).