rombert commented on a change in pull request #6:
URL:
https://github.com/apache/sling-org-apache-sling-servlets-post/pull/6#discussion_r534229285
##########
File path:
src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java
##########
@@ -151,6 +152,11 @@
"content to the repository. By default this is
\"j_.*\" thus ignoring all "+
"request parameters starting with j_ such as
j_username.")
String servlet_post_ignorePattern() default "j_.*";
+
+ @AttributeDefinition(name="Backwards compatible statuscode",
+ description="In backwards compatibility mode exceptions
will always create a statuscode "
+ + "500 (see SLING-9896)")
+ boolean backwards_compatible_statuscode() default false;
Review comment:
I would reformulate it as `legacy_statuscode_on_persistence_exception`;
maybe we would make multiple changes that that need backwards compatibility in
the status code.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]