Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6410E107E1 for ; Tue, 9 Jul 2013 11:53:31 +0000 (UTC) Received: (qmail 8346 invoked by uid 500); 9 Jul 2013 11:53:31 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 8335 invoked by uid 500); 9 Jul 2013 11:53:31 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 8326 invoked by uid 99); 9 Jul 2013 11:53:30 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 11:53:30 +0000 Received: from localhost (HELO [192.168.7.235]) (127.0.0.1) (smtp-auth username milamber, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 11:53:29 +0000 Message-ID: <51DBF9B7.4050104@apache.org> Date: Tue, 09 Jul 2013 11:53:27 +0000 From: Milamber Organization: Apache Software Fondation User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1 MIME-Version: 1.0 To: dev@jmeter.apache.org Subject: Re: New from Template silently overwrites files References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Le 09/07/2013 11:46, sebb a ecrit : > Just noticed that the "New From Template" feature creates a file in > the current working directory. > > It silently overwrites any file with the same name as the template. > > It would be easy to lose a valuable test plan. > > I'm not sure why the code does not just load the content from the > template, and leave to the user to save the test plan where they wish. +1, I would be better to make like "merge" (or use the merge functionalty) to open the template. > After all, unless they change the template, they can just refetch it. > > Thoughts? >