[
http://jira.codehaus.org/browse/MRM-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110241
]
Joakim Erdfelt commented on MRM-546:
------------------------------------
It comes up often enough, I've seen it, others have seen it.
It's a bug. I filed it.
Copy/Paste from IRC this morning ...
{noformat}
<eskatos> I have a strange problem
<eskatos> all my snapshot are duplicated when I edit one
<eskatos> all my repositories are duplicated when I edit one
<eskatos> [ forget the snapshot line ]
<bawt> Topic " forget the snapshot line " does not exist
<eskatos> I mean, in my repositories page, I have each repository repeated 3
times ATM
<eskatos> If I edit one, I'll get every repository repeated 4 times right after
<wsmoak> eskatos: what version?
<eskatos> 1.0-beta2
<wsmoak> a workaround is to just edit archiva.xml and don't use the web ui
<wsmoak> I'm building the latest to check it, though joakim may be faster...
<joakim> eskatos, that's a but that i've been trying to get brett to fix. :-)
<joakim> eskatos, do this for a workaround. go into your $HOME/.m2/archiva.xml
and remove the <repositories> element and all content under it.
<joakim> s/that's a but/that's a bug/
<eskatos> not a butt either
<eskatos> ok thanks, I'll try this
<wsmoak> is it in JIRA? doesn't sound familiar.
<joakim> Can't find it.
<wsmoak> eskatos: can you (search and) open an issue for that problem?
<joakim> I'm opening it.
<eskatos> nice
<wsmoak> not something I've seen it do myself. but not surprising given the
other things it's done. :)
<eskatos> I won't try the workaround now, don't have much time today
<joakim> MRM-546
{noformat}
> Duplicate repositories show up while editing.
> ---------------------------------------------
>
> Key: MRM-546
> URL: http://jira.codehaus.org/browse/MRM-546
> Project: Archiva
> Issue Type: Bug
> Components: system
> Affects Versions: 1.0-beta-2
> Reporter: Joakim Erdfelt
> Assignee: Brett Porter
> Priority: Critical
>
> Environment: Using a pre 1.0-beta-2 archiva install that has been upgraded to
> 1.0-beta-2.
> Situation: When editing the repositories, the repositories get duplicated.
> This is likely due to the fact that the configuration "upgrade" technique
> from <repositories> to <managedRepositories> and <remoteRepositories> is not
> removing the <repositories> section properly..
> Several efforts in the code have been made to correct this, but with no
> success. See revision 583903 in archiva/trunk for details.
--
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