[
https://issues.apache.org/jira/browse/SLING-9531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17143057#comment-17143057
]
Bertrand Delacretaz commented on SLING-9531:
--------------------------------------------
I was wondering how you're going to change the default POST servlet's default
operation, which is currently the {{ModifyOperation}}, to your new POST
operation.
I don't think we can change that while remaining backwards compatible.
Re-reading the sling dev list discussion linked above, do I understand
correctly that clients will need to specify the name of this new operation with
the {{:operation}} parameter for this feature to work?
If that's correct that works for me, just checking my understanding, and I
suggest naming that new operation {{nofallback}} or {{nodefault}}.
> Add operation which indicates that a more specific servlet is needed
> --------------------------------------------------------------------
>
> Key: SLING-9531
> URL: https://issues.apache.org/jira/browse/SLING-9531
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Post 2.3.36
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: Servlets POST 2.3.38
>
>
> Very often POST servlets rely on OSGi DS which is dynamic. If for whatever
> reason the specialized servlet component is not running, Sling falls back to
> the Default POST Servlet. That is very often not intended. To prevent the
> Default POST Servlet from doing any repository modification operations a new
> operation should be added which leads to a 500 error and the status message,
> that a more specific servlet is necessary.
> Compare with the discussion from
> https://lists.apache.org/thread.html/r00d54024759efe1f0456008e21a994f5bafe512bf65ff9bc1c767999%40%3Cdev.sling.apache.org%3E
> Currently there is only the very generic NOP operation which does not hint at
> the fact that a necessary servlet is not deployed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)