[
http://jira.codehaus.org/browse/MRM-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137589#action_137589
]
Maria Odea Ching commented on MRM-789:
--------------------------------------
Added confirmation page before saving a repo config (whether new or update) if
the repo location already exists in trunk -r663788.
This is the new flow:
1. Add
- Add a managed repo.
- If the repo location set already exists, then user will be directed to
the confirmation page.
- If user clicks Save, then repo will be added. Otherwise, user will be
redirected back to the repositories page.
2. Edit
- Edit a managed repo config.
- If the repo location has been changed, then the new location would be
checked if it already exists. If it does, then user will be directed to the
confirmation page.
- If user clicks Save, then the repo config will be updated. Otherwise,
user will be redirected back to the repositories page.
Please verify if the fix is sufficient for this issue. Thanks..
> Archiva may delete you app server installation
> ----------------------------------------------
>
> Key: MRM-789
> URL: http://jira.codehaus.org/browse/MRM-789
> Project: Archiva
> Issue Type: Bug
> Components: repository interface
> Affects Versions: 1.0.2
> Environment: linux, jdk 1.6, tomcat 6
> Reporter: Brill Pappin
> Assignee: Maria Odea Ching
> Priority: Critical
> Fix For: 1.1
>
>
> I installed the WAR version of Archiva into my tomcat instance... no problem
> so far.
> I then attempted to delete the default "internal" repository. I hit the
> delete config and contents button.
> At that moment I noticed that the repository directory was the tomcat home
> directory.
> Archiva managed to completely delete my Tomcat installation.
> To reproduce this, install it as a war, point a repo dir at your app server
> home, and hit the delete button (make sure you have a backup).
--
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