[ 
https://issues.apache.org/jira/browse/JCR-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

angela updated JCR-2585:
------------------------

    Issue Type: Bug  (was: Improvement)

> spi2davex: unspecific BadRequest error instead of error code matching the 
> RepositoryException
> ---------------------------------------------------------------------------------------------
>
>                 Key: JCR-2585
>                 URL: https://issues.apache.org/jira/browse/JCR-2585
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-server, jackrabbit-spi2dav
>    Affects Versions: 2.0.0
>            Reporter: angela
>            Assignee: angela
>             Fix For: 2.1.0
>
>         Attachments: JCR-2585.patch
>
>
> the JsonDiffHandler#NodeHandler in the server part of the jcr remoting may 
> only throw IOException
> if an error occurs. this results in unspecific BadRequest responses even if 
> the problem source was
> something very specific such as e.g. a locked node.
> after having a first glance at this i think that making DiffException a 
> subclass of IOException would
> allow to generate much more specific responses codes that even include the 
> original exception
> details.
> i will attach a patch as i didn't had time to carefully test it.  [the 
> conformance tests passed].

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