DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23611>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23611

"New" clears unsaved plan without prompting

           Summary: "New" clears unsaved plan without prompting
           Product: JMeter
           Version: 1.9.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Between 1.8 and 1.9, the New command stopped prompting if the test plan had 
not been saved.

New calls ActionRouter.getInstance().actionPerformed(...CHECK_DIRTY) before 
proceeding. In 1.8, actionPerformed() was a synchronous call, but in 1.9, it 
became a "run later" call.

The original synchronous function from 1.8 seems to have been renamed as 
doActionNow(), so I tried changing New to call ActionRouter.getInstance
().doActionNow() instead, and that seemed to fix things.

However, the same code is used to check DIRTY_STATE in the Exit action, and 
that seems to work OK ... which is a bit odd.

It doesn't appear to be a timing issue...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to