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 254534

Summary: Cannot undo the Introduce Local Extension action
Product: qa Reporter: stwr
Component: Test SpecificationsAssignee: Jiri Prox <jiriprox>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description stwr 2015-08-20 06:56:26 UTC
Product Version = NetBeans IDE Dev (Build 201508190002)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_60-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Test Case --> http://services.netbeans.org/synergy/client/app/#/case/5172/suite/2041/v/1

Once local extension is created there is no way to undo this action.
Comment 1 stwr 2015-08-20 06:56:30 UTC
Created attachment 155478 [details]
IDE log
Comment 2 Ralph Ruijs 2015-08-24 16:39:15 UTC
Undo is context sensitive and is enabled from the project view. The local extension is newly created and there are no edits which can be undone.
Comment 3 stwr 2015-08-25 16:42:26 UTC
The described 'rule' does not fit to the situation where i.e. we are replacing constructor with a builder. Newly created builder is removed when an undo is performed.

However please adjust the expected result and steps procedure of corresponding test case as they still contain undo.