Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 1270 invoked from network); 23 Jan 2009 09:58:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2009 09:58:18 -0000 Received: (qmail 26667 invoked by uid 500); 23 Jan 2009 09:58:18 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 26618 invoked by uid 500); 23 Jan 2009 09:58:18 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 26607 invoked by uid 99); 23 Jan 2009 09:58:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 01:58:18 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oching@exist.com designates 209.85.217.21 as permitted sender) Received: from [209.85.217.21] (HELO mail-gx0-f21.google.com) (209.85.217.21) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 09:58:10 +0000 Received: by gxk14 with SMTP id 14so6659540gxk.15 for ; Fri, 23 Jan 2009 01:57:49 -0800 (PST) MIME-Version: 1.0 Sender: oching@exist.com Received: by 10.90.84.1 with SMTP id h1mr3259819agb.70.1232704668917; Fri, 23 Jan 2009 01:57:48 -0800 (PST) In-Reply-To: References: Date: Fri, 23 Jan 2009 17:57:48 +0800 X-Google-Sender-Auth: d53480d970cbb38a Message-ID: <1a57a2980901230157p6a46670ey73f8e4518352637b@mail.gmail.com> Subject: Re: Should Archiva browse differentiate between present-but-empty and non-existent directories? From: Maria Odea Ching To: users@archiva.apache.org Content-Type: multipart/alternative; boundary=001636163fc5e762080461236b07 X-Virus-Checked: Checked by ClamAV on apache.org --001636163fc5e762080461236b07 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jan 21, 2009 at 8:37 AM, Wendy Smoak wrote: > A user at work brought up this question about Archiva browse. He > noticed that it doesn't differentiate between a directory that's > present but empty, and one that just doesn't exist. For example, this > displays a browse repository page even though there is no > com/example/does/not/exist/stuff path in any of the managed repos: > > http://localhost:8080/archiva/browse/com.example.does.not.exist/stuff/ > > Similarly, you get the same "Unable to find project model" error from > > http://localhost:8080/archiva/browse/com.example.does.not.exist/stuff/1.0-SNAPSHOT > as you do from > http://localhost:8080/archiva/browse/com.example/myproject/1.0-SNAPSHOT > (assuming com/example/myproject/1.0-SNAPSHOT *does* exist, but > contains no artifacts.) > > Should Archiva display something different if the underlying directory > exists vs. if it doesn't? Yeah, I think it should, so as to avoid confusion about what the exact problem is.. Thanks, Deng > > -- > Wendy > -- Maria Odea Ching Software Engineer | Exist Global | 687-4091 | Skype: maria.odea.ching | www.exist.com | Innovation Delivered --001636163fc5e762080461236b07--