Bug 58699

Summary: workbench changes neither saved nor prompted for saving upon close
Product: JMeter Reporter: mike.palandra
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: minor CC: p.mouawad
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: DEC   
OS: All   

Description mike.palandra 2015-12-07 19:18:18 UTC
Possibly related bug:  
https://bz.apache.org/bugzilla/show_bug.cgi?id=57382

1)  Start JMeter GUI

2)  Load the "Recording" template

3)  Select the "Workbench" and ensure that "Save WorkBench" is enabled

4)  Save test plan

5)  Select the "HTTP(S) Test Script Recorder" (child of WorkBench)

6)  Add a regular expression to the list of "URL Patterns to Include"; e.g. jmeter\.apache\.org:\d+/.*

7)  Close the test plan.  Note that you are NOT prompted to save, and if the plan is opened again, the change from step #6 is missing!


Note:  an explicit "Save" between step #6 and step #7 does retain the change from step #6.
Comment 1 benoit.wiart 2015-12-08 10:38:38 UTC
PR https://github.com/apache/jmeter/pull/45
Comment 2 Philippe Mouawad 2015-12-08 22:01:54 UTC
Date: Tue Dec  8 21:56:27 2015
New Revision: 1718720

URL: http://svn.apache.org/viewvc?rev=1718720&view=rev
Log:
Bug 58699 : Workbench changes neither saved nor prompted for saving upon close
#resolve #45
Bugzilla Id: 58699

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/CheckDirty.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterTreeModel.java
    jmeter/trunk/xdocs/changes.xml