[
https://issues.apache.org/jira/browse/SLING-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573022#action_12573022
]
Bertrand Delacretaz commented on SLING-273:
-------------------------------------------
Ok, agree about ignoring errors for deletes.
But we should test that "important" errors are handled properly, by returning
an error code and rolling changes back.
> ujax post servlet aborts processing if item names are invalid
> -------------------------------------------------------------
>
> Key: SLING-273
> URL: https://issues.apache.org/jira/browse/SLING-273
> Project: Sling
> Issue Type: Bug
> Components: microsling
> Reporter: Tobias Bocanegra
> Attachments: ujax_error_fix.r630238.patch,
> ujax_error_fix.r631660.patch
>
>
> example:
> POST /content/test
> ujax:delete = "foo:test"
> returns:
> javax.jcr.NamespaceException: foo: is not a registered namespace prefix.
> of course the value of the param is wrong. but imo it should ignore it (or
> log an error in the changelog) and continue processing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.