In the Jahia.service() method you open the database connection and then, depending on whether the process() returns without an exception you make a commit(), or if there was an exception you make a rollback().

Unfortunately JahiaAction, which is the Jahia Engine Default dispatcher, catches all Throwable, creates an error display and simply swallows the exception, so that at the end in Jahia.service() a commit() is called instead of a rollback().

What would be the impact, if we remove the exception handling in JahiaAction.execute() and let Jahia.service() do that?

Benjamin Papez

Reply via email to