[ 
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.

Reply via email to