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 222357 - [Inspect&Transform] Cannot save the jackpot script
Summary: [Inspect&Transform] Cannot save the jackpot script
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 07:07 UTC by Jiri Prox
Modified: 2012-11-20 02: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 Jiri Prox 2012-11-19 07:07:25 UTC
The custom jackpot script cannot be saved.

Steps to reproduce:
1) Open Inspect & Transform dialog
2) click on Browse
3) click on New
4) click on Edit script
5) edit script
6) click on Save

-> the script is not saved

workaround:
Edit the script in editor, the save works fine there.


Product Version: NetBeans IDE Dev (Build 201211190002)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 Jan Lahoda 2012-11-19 08:46:15 UTC
Fixed:
http://hg.netbeans.org/jet-main/rev/88bc9950a050

(Thanks for finding that.)
Comment 2 Quality Engineering 2012-11-20 02:40:00 UTC
Integrated into 'main-golden', will be available in build *201211200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/88bc9950a050
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #222357: when a script is saved, do to discard the changes inside the Document.