On the current master branch of DSpace 7; if we try to execute a request that is supposed to fail because E.G. the method is not yet implemented in the code-base (Item PUT for example currently) the error code thrown will not be a correct one. For a PUT request, this now throws a 404 tomcat error instead of the expected 405 to indicate that this has not been implemented.
This is due to the fact that the OpenSearchController currently implements the default ErrorController and some strange behaviour happens that disallows DSpace to currently throw the intended error message.
Since we have very limited knowledge about what this feature is supposed to do and why the ErrorController is implemented here, we'll remove the implementation and throw out a few methods as a result from this so that the correct error codes can be thrown once again to hinder further progress due to this bug.
If anyone that knows more about the feature sees any issues with this, please raise them.