[ https://issues.apache.org/jira/browse/SLING-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573035#action_12573035 ]
Felix Meschberger commented on SLING-273: ----------------------------------------- > But we should test that "important" errors are handled properly, by returning > an error code and rolling changes back. This is already the case: The UjaxProcessor aborts on error and rolls back unsaved changes. > 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 > Assignee: Felix Meschberger > 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.