Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 60840 invoked from network); 22 Feb 2007 11:43:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2007 11:43:29 -0000 Received: (qmail 51900 invoked by uid 500); 22 Feb 2007 11:43:36 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 51835 invoked by uid 500); 22 Feb 2007 11:43:35 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 51825 invoked by uid 99); 22 Feb 2007 11:43:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 03:43:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 03:43:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B33F67141B8 for ; Thu, 22 Feb 2007 03:43:05 -0800 (PST) Message-ID: <22453113.1172144585731.JavaMail.jira@brutus> Date: Thu, 22 Feb 2007 03:43:05 -0800 (PST) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-736) Wrong exeption returned from Repository.login(Credentials, String) In-Reply-To: <11558772.1170784205811.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474987 ] Jukka Zitting commented on JCR-736: ----------------------------------- For the record: This issue was actually caused by revision 418448 where I committed a simplified version of the fix suggested in issue JCR-413. The suggested fix used the J2EE 1.3 method setLinkedException() to keep the original exception, but I didn't realize why the underlying exception is required and just dropped the call in favor of a string copy of the exception message. The fix to this issue reintroduced the problem in JCR-413, and was now fixed properly in revision 510468. The reintroduced issue was recorded as JCR-761 since JCR-413 had already been closed in Jackrabbit 1.1. > Wrong exeption returned from Repository.login(Credentials, String) > ------------------------------------------------------------------ > > Key: JCR-736 > URL: https://issues.apache.org/jira/browse/JCR-736 > Project: Jackrabbit > Issue Type: Bug > Components: jca > Affects Versions: 1.2.1 > Environment: JRE 1.5.0_10, JBoss 4.0.5 GA, JBossWS 1.0.4 GA, WinXP SP2 > Reporter: Iaacov Rosenberg > Assigned To: Jukka Zitting > Fix For: 1.2.2 > > > According to specification, calling Repository.login(Credentials, String) with a non-existent wokspaceName should return NoSuchWorkspaceException. > In fact it returns RepositoryException. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.