Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Servlets Post 2.3.36
-
None
-
None
Description
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.