[ 
https://issues.apache.org/jira/browse/SLING-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572952#action_12572952
 ] 

Felix Meschberger commented on SLING-273:
-----------------------------------------

I tned to agree with Bertrand that failing the update request would be the 
better option.

I could of course agree, that failures (for whatever reason, not just a name 
space issue but also ValueFormatException etc.) could be recorded and sent back 
as status information but not as a 200/OK. And the session changes should be 
rolled back instead of being saved at the end.

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

Reply via email to