You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2012/09/05 16:32:21 UTC

[jira] (MRM-1652) Archiva should throw 405 (Method not allowed) when "releases=false" in archiva.xml

     [ https://jira.codehaus.org/browse/MRM-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MRM-1652.
-----------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 1.4-M3)

please reopen if you have a unit test to reproduce that.
                
> Archiva should throw 405 (Method not allowed) when "releases=false" in archiva.xml
> ----------------------------------------------------------------------------------
>
>                 Key: MRM-1652
>                 URL: https://jira.codehaus.org/browse/MRM-1652
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.4-M1
>         Environment: RHEL 6
>            Reporter: charles kim
>            Assignee: Olivier Lamy
>         Attachments: ArchivaDavResourceFactory_patch.txt
>
>
> releases is configured to false which should tell archiva that uploading should be disabled for the repo.  But the setting doesn't work as seen from the code.  Please see the attached patch. Thanks.
> 		<managedRepository>
> 			<location>/home/y/var/yarchiva/data/repositories/public</location>
> 			<blockRedeployments>true</blockRedeployments>
> 			<daysOlder>30</daysOlder>
> 			<id>public</id>
> 			<name>Archiva Managed Public Repository</name>
> 			<releases>false</releases>
> 		</managedRepository>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira