[mevenide-dev] [jira] Resolved: (MEVENIDE-615) potential data loss with scm checkout action

"Anuradha Gunasekara (JIRA)" <jira-yCVjj/[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <22209954.1206688438433.JavaMail.haus-jira@codehaus01.managed.contegix.com>
     [ http://jira.codehaus.org/browse/MEVENIDE-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anuradha Gunasekara resolved MEVENIDE-615.
------------------------------------------

    Resolution: Fixed

Fixed 

> potential data loss with scm checkout action
> --------------------------------------------
>
>                 Key: MEVENIDE-615
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-615
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.1
>            Reporter: Milos Kleint
>            Assignee: Anuradha Gunasekara
>            Priority: Blocker
>
> I've effectively managed to wipe out part of my home directory (I managed to stop the process) when executing SCM/Checkout Sources action.
> The problem is that the folder to checkout was empty string which was converted to java.uti.File. That file instance was pointing to "user.home". The SCM plugin when executing was set to use this location as checkoutDirectory. The plugin takes that directory and deletes it. Ouch.
> I'm commiting a hotfix now, that prepopulates the location field is a value that should not cause harm.
> Please add some checks that warns the user that the selected directory exists and is non empty and note the consequences of proceeding.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.