Bug 58699 - workbench changes neither saved nor prompted for saving upon close
Summary: workbench changes neither saved nor prompted for saving upon close
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.13
Hardware: DEC All
: P2 minor (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-07 19:18 UTC by mike.palandra
Modified: 2015-12-08 22:01 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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