mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.0 to HEAD
12185: Fix 3.0 SP1 installation on non-Oracle databases. Removed creation of indexes in AlfrescoPostCreate-2.2-MappedFKIndexes.sql that were also in AlfrescoPostCreate-2.2-Extra.sql 12186: Performance improvements to HibernateNodeDaoServiceImpl 12188: Multi user tests: enable graceful web script recovery on optimistic locking failure (...) 12191: Improve Javascript execution performance in Web Scripts & Improve error presentation (...) thrown by JavaScript 12192: Share performance improvements: stop AbstractFeedGenerator from 'choking' the repository with too many web script requests 12193: Multi user testing: don't suppress all exceptions during Wiki Move. 12194: Multi user testing. Don't suppress all runtime exceptions in script site node object. 12195: Multi user testing. Convert User bean object to use a retrying transaction so that optimistic locking failures are handled. 12196: Multi user testing: Configuration changes to support concurrent access by 20 users git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12522 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -113,6 +113,10 @@ public class ScriptServiceImpl implements ScriptService
|
||||
ScriptProcessor scriptProcessor = getScriptProcessor(scriptClasspath);
|
||||
return scriptProcessor.execute(scriptClasspath, model);
|
||||
}
|
||||
catch (ScriptException err)
|
||||
{
|
||||
throw err;
|
||||
}
|
||||
catch (Throwable err)
|
||||
{
|
||||
throw new ScriptException("Failed to execute script '" + scriptClasspath + "': " + err.getMessage(), err);
|
||||
@@ -140,6 +144,10 @@ public class ScriptServiceImpl implements ScriptService
|
||||
ScriptProcessor scriptProcessor = lookupScriptProcessor(engine);
|
||||
return scriptProcessor.execute(scriptClasspath, model);
|
||||
}
|
||||
catch (ScriptException err)
|
||||
{
|
||||
throw err;
|
||||
}
|
||||
catch (Throwable err)
|
||||
{
|
||||
throw new ScriptException("Failed to execute script '" + scriptClasspath + "': " + err.getMessage(), err);
|
||||
@@ -167,6 +175,10 @@ public class ScriptServiceImpl implements ScriptService
|
||||
ScriptProcessor scriptProcessor = getScriptProcessor(scriptRef);
|
||||
return scriptProcessor.execute(scriptRef, contentProp, model);
|
||||
}
|
||||
catch (ScriptException err)
|
||||
{
|
||||
throw err;
|
||||
}
|
||||
catch (Throwable err)
|
||||
{
|
||||
throw new ScriptException("Failed to execute script '" + scriptRef.toString() + "': " + err.getMessage(), err);
|
||||
@@ -194,6 +206,10 @@ public class ScriptServiceImpl implements ScriptService
|
||||
ScriptProcessor scriptProcessor = lookupScriptProcessor(engine);
|
||||
return scriptProcessor.execute(scriptRef, contentProp, model);
|
||||
}
|
||||
catch (ScriptException err)
|
||||
{
|
||||
throw err;
|
||||
}
|
||||
catch (Throwable err)
|
||||
{
|
||||
throw new ScriptException("Failed to execute script '" + scriptRef.toString() + "': " + err.getMessage(), err);
|
||||
@@ -218,6 +234,10 @@ public class ScriptServiceImpl implements ScriptService
|
||||
ScriptProcessor scriptProcessor = getScriptProcessor(location.toString());
|
||||
return scriptProcessor.execute(location, model);
|
||||
}
|
||||
catch (ScriptException err)
|
||||
{
|
||||
throw err;
|
||||
}
|
||||
catch (Throwable err)
|
||||
{
|
||||
throw new ScriptException("Failed to execute script '" + location.toString() + "': " + err.getMessage(), err);
|
||||
@@ -242,6 +262,10 @@ public class ScriptServiceImpl implements ScriptService
|
||||
ScriptProcessor scriptProcessor = lookupScriptProcessor(engine);
|
||||
return scriptProcessor.execute(location, model);
|
||||
}
|
||||
catch (ScriptException err)
|
||||
{
|
||||
throw err;
|
||||
}
|
||||
catch (Throwable err)
|
||||
{
|
||||
throw new ScriptException("Failed to execute script '" + location.toString() + "': " + err.getMessage(), err);
|
||||
@@ -278,6 +302,10 @@ public class ScriptServiceImpl implements ScriptService
|
||||
ScriptProcessor scriptProcessor = lookupScriptProcessor(engine);
|
||||
return scriptProcessor.executeString(script, model);
|
||||
}
|
||||
catch (ScriptException err)
|
||||
{
|
||||
throw err;
|
||||
}
|
||||
catch (Throwable err)
|
||||
{
|
||||
throw new ScriptException("Failed to execute supplied script: " + err.getMessage(), err);
|
||||
|
Reference in New Issue
Block a user