int-api - Build # 3262 - Failure:
Check console output at https://ci.openbravo.com/job/int-api/3262/ to view the
results.
Committers since last success:
Changes for Build #3262
Augusto Mauch <[email protected]> null
Fixes issue 37681: Dont create ad_context_info if audit trail not active
Records are only read/written from the ad_context_info if audit trail is
enabled (if any ad_table is fully audited). If audit trail is disabled when
Tomcat is started, there is no need to create the ad_context_info table each
time that a new connection is created. From now on it will no be possible
to enable the audit trail while Tomcat is active, enabling it will require to
rebuild Openbravo and to restart Tomcat. Now:
- The Update Audit Trail Infrastructure has been removed
- When a new table is set to be audited in the AD,
SessionInfo.setAuditTrailActive(true) will not be invoked, so that the
isAuditTrailActive flag can
only be set to true when Tomcat starts.
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/ConnectionInitializerInterceptor.java
src-core/src/org/openbravo/database/SessionInfo.java
src-db/database/sourcedata/AD_MENU.xml
src-db/database/sourcedata/AD_MESSAGE.xml
src-db/database/sourcedata/AD_MODEL_OBJECT.xml
src-db/database/sourcedata/AD_PROCESS.xml
src-db/database/sourcedata/AD_TREENODE.xml
src/org/openbravo/erpCommon/ad_callouts/SL_TableAudit.java
src/org/openbravo/erpCommon/ad_process/UpdateAuditTrail.java
Augusto Mauch <[email protected]> null
Fixes issue 37677: Dont check if ad_context_info table exists before
creating it
Now, if the pool is used, the query to check if the ad_context_info table
already exists will not be done. This check can be skipped because
if the pool is used, the initDB method will only be called when a new physical
connection is created, and in that case the temporary table is
garanteed not to exist.
This pool instance check is needed to keep supporting using pools other than
org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool (or none at
al),
but in those cases the query to check if the ad_context_info table exists will
still be performed.
src-core/src/org/openbravo/database/SessionInfo.java
Last 20 lines of the console output:
[...truncated 536 lines...]
Missing
class org.openbravo.erpCommon.ad_process.UpdateAuditTrail: missing in
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
+ failure=1
+ exit 1
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : cp
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
[int-api] $ /bin/bash -xe /tmp/hudson8271523936595651537.sh
+ cp /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Checking console output
/srv/ci/jobs/int-api/builds/3262/log:
[checkAPI] 10742 ERROR -
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds