int-full-pgsql - Build # 3791 - Failure:
Check console output at https://ci.openbravo.com/job/int-full-pgsql/3791/ to
view the results.
Committers since last success:
Changes for Build #3791
Augusto Mauch <augusto.ma...@openbravo.com> null
Fixes bug 38801: Error in TriggerHandler.enable doesnt leave triggers
disabled
The problem was that if the flush indie TriggerHandler.enable (invoked when
retrieving DAL's connection) failed, the clear method was not
invoked, and the ThreadLocal was not reset. The next time the thread was
reused, it would work with disabled triggers.
Now that doesn't happen anymore because the flush is done inside the try block.
src/org/openbravo/dal/core/TriggerHandler.java
Last 20 lines of the console output:
[...truncated 1460 lines...]
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
at
org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
at
org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
at
org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
at
org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at
org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at
org.apache.ddlutils.platform.StandardBatchEvaluator.evaluateBatch(StandardBatchEvaluator.java:88)
... 50 more
Total time: 2 minutes 38 seconds
Build step 'Execute managed script' marked build as failure
Checking console output
/srv/ci/jobs/int-full-pgsql/builds/3791/log:
[java] 9692 [main] ERROR org.openbravo.erpCommon.modules.ApplyModule -
Couldn't disable triggers:
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
Openbravo-builds@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-builds