int-dummy-pgsql - Build # 1732 - Failure:
Check console output at https://ci.openbravo.com/job/int-dummy-pgsql/1732/ to
view the results.
Committers since last success:
Changes for Build #1732
Stefan Hühner <[email protected]> null
Fixed 35088. Make 2 junit tests more robust.
Both junit tests assigned that the c_country with _id 106 has the name
"Spain". However in some projects that value is directly modified/translated.
Make the test more robust to search for the country via isocode 'ES' which
is more stable. And in the json test verify the expected row via its id 106
instead of its identifier 'Spain'.
src-test/src/org/openbravo/test/webservice/JSONWebServicesWhereParameter.java
src-test/src/org/openbravo/test/xml/UniqueConstraintImportTest.java
Stefan Hühner <[email protected]> null
Fixed 35090. Make junit TestCosting more robust.
TestCosting junit test currently fails is c_uom with id = 100 does
not have name=Unit. Test-cost uses the id = 100 already in several
places and only in one does match the expected c_uom entry by name.
Change that one place to check via id to make the test still work
if the name is not Unit.
src-test/src/org/openbravo/test/costing/TestCosting.java
Carlos Aristu <[email protected]> null
related to bug 35074: Updated argument types in javadoc
modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java
Carlos Aristu <[email protected]> null
related to bug 35074: Added new method for the API
Overload openDirectTab method to use that action just by speficifying the tab
ID and whether the action should wait.
modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java
Mark <[email protected]> null
Related to issue 35015: Code review improvements
Removed validation on the legal organization, as it always will be bot null
src/org/openbravo/costing/CostAdjustmentUtils.java
Carlos Aristu <[email protected]> null
related to bug 35074: Leave just useful information in javadoc
modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java
Carlos Aristu <[email protected]> null
fixes bug 35074: Create a builder for BaseProcessActionHandler response
actions
modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java
modules/org.openbravo.client.application/src/org/openbravo/client/application/process/BaseProcessActionHandler.java
Carlos Aristu <[email protected]> null
related to bug 24287: observer run once when changes come from another
observer
The fix for issue #35060 is solving also issue #24287. With this changeset, we
are adding two new test cases to cover the scenario of an observed being
executed because of changes done with another observer. In those two cases, we
are checking that each observer is being executed just once.
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/OrderTestObserver.java
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/DatasourceEventObserver.java
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/ObserverBaseTest.java
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/OrderLineTestObserver.java
Carlos Aristu <[email protected]> null
related to issue 35062: fix typo
modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/DalPersistanceEventTest.java
Asier Lostalé <[email protected]> null
fixed issue 35007: reduced overhead in audit trail infrastructure
Asier Lostalé <[email protected]> null
[audit] don't trigger dal observers twice on flush
src/org/openbravo/dal/service/OBDal.java
Asier Lostalé <[email protected]> null
[audit] pi merge
Asier Lostalé <[email protected]> null
[audit] prevent NPE
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] typo
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] don't initialize already initialized connection
src/org/openbravo/dal/core/DalSessionFactory.java
Asier Lostalé <[email protected]> null
[audit] reset changed info only for local thread's connection
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] comment when context is saved to db
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] be failsafe when resetting SessionInfo on thread finalization
src/org/openbravo/dal/core/DalRequestFilter.java
Carlos Aristu <[email protected]> null
[audit] process definition reports shouldn't audit
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java
Carlos Aristu <[email protected]> null
[audit] corrected javadoc text
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] pi merge
Asier Lostalé <[email protected]> null
[audit] updated (c) year
modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertActionHandler_data.xsql
modules/org.openbravo.client.application/src/org/openbravo/client/application/StorePropertyActionHandler.java
modules/org.openbravo.client.application/src/org/openbravo/client/application/process/BaseProcessActionHandler.java
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
src-core/src/org/openbravo/data/Sql.java
src-core/src/org/openbravo/data/Sqlc.java
src-core/src/org/openbravo/database/ConnectionProviderImpl.java
src-core/src/org/openbravo/database/JNDIConnectionProvider.java
src-core/src/org/openbravo/database/RDBMSIndependent.java
src-core/src/org/openbravo/database/SessionInfo.java
src/org/openbravo/dal/core/DalRequestFilter.java
src/org/openbravo/dal/core/DalSessionFactory.java
src/org/openbravo/erpCommon/security/SessionLogin.java
src/org/openbravo/erpCommon/security/SessionLogin_data.xsql
src/org/openbravo/scheduling/DefaultJob.java
src/org/openbravo/scheduling/ProcessRequest_data.xsql
src/org/openbravo/scheduling/ProcessRun_data.xsql
src/org/openbravo/service/importprocess/ImportEntryProcessor.java
Asier Lostalé <[email protected]> null
[audit] merge with multi pool
Carlos Aristu <[email protected]> null
[audit] Added missing statement lost in the merge
src/org/openbravo/dal/service/OBDal.java
Asier Lostalé <[email protected]> null
[audit] better explain why SessionInfo.setDBSessionInfo is deprecated
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] split condition for readability
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] fixes merge
src/org/openbravo/dal/service/OBDal.java
Asier Lostalé <[email protected]> null
[audit] merge with multi pool project
As both projects affect the same components, make audit dependent on multi
pool
Asier Lostalé <[email protected]> null
[audit] pi merge
Asier Lostalé <[email protected]> null
[audit] not need to force save to db audit context, it will be done later
on flush if needed
src/org/openbravo/service/importprocess/ImportEntryProcessor.java
Asier Lostalé <[email protected]> null
[audit] don't audit session login
src/org/openbravo/erpCommon/security/SessionLogin.java
Asier Lostalé <[email protected]> null
[audit] ensure context info is set for process definition and bg processes
modules/org.openbravo.client.application/src/org/openbravo/client/application/process/BaseProcessActionHandler.java
src/org/openbravo/scheduling/DefaultJob.java
Asier Lostalé <[email protected]> null
[audit] prevent double import for SessionInfo
src-core/src/org/openbravo/data/Sqlc.java
Asier Lostalé <[email protected]> null
[audit] removed unused variable
src-core/src/org/openbravo/data/Sqlc.java
Asier Lostalé <[email protected]> null
[audit] pi merge
Asier Lostalé <[email protected]> null
[audit] pi merge
Asier Lostalé <[email protected]> null
[audit] sqlc import SessionInfo if needed
src-core/src/org/openbravo/data/Sqlc.java
Asier Lostalé <[email protected]> null
[audit] pi merge
Asier Lostalé <[email protected]> null
[audit] pi merge
Asier Lostalé <[email protected]> null
[audit] PL invokation from sqlc sets audit info
src-core/src/org/openbravo/database/RDBMSIndependent.java
Asier Lostalé <[email protected]> null
[audit] don't audit user preferences modifications
modules/org.openbravo.client.application/src/org/openbravo/client/application/StorePropertyActionHandler.java
Asier Lostalé <[email protected]> null
[audit] API to allow to programatically skip insertions in context info
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] don't audit process request creation/update
src/org/openbravo/scheduling/ProcessRequest_data.xsql
src/org/openbravo/scheduling/ProcessRun_data.xsql
Asier Lostalé <[email protected]> null
[audit] fixed condition
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] prevent setting same info in same thread for same connection
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] don't set context info for session ping not usage audit
modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertActionHandler_data.xsql
src/org/openbravo/erpCommon/security/SessionLogin_data.xsql
Asier Lostalé <[email protected]> null
[audit] Sqlc can optionally mark methods not to save context info
src-core/src/org/openbravo/data/Sql.java
src-core/src/org/openbravo/data/Sqlc.java
Asier Lostalé <[email protected]> null
[audit] reverted previous change c0340d7b7817
Context info needs to preserve values among transactions because SQLC sets
atocommit(true) by default, which is in practice multiple mini-transactions.
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
[audit] sqlc statemets set audit only when needed
src-core/src/org/openbravo/data/Sqlc.java
Asier Lostalé <[email protected]> null
[audit] removed some duplication
src/org/openbravo/dal/core/DalSessionFactory.java
Asier Lostalé <[email protected]> null
[audit] removed more deprecated methods
src/org/openbravo/dal/core/DalSessionFactory.java
Asier Lostalé <[email protected]> null
[audit] DAL don't use deprecated methods anymore
modules/org.openbravo.client.application/src/org/openbravo/client/application/process/BaseProcessActionHandler.java
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
src-core/src/org/openbravo/database/ConnectionProviderImpl.java
src-core/src/org/openbravo/database/JNDIConnectionProvider.java
src/org/openbravo/service/db/DalConnectionProvider.java
Asier Lostalé <[email protected]> null
[audit] DAL, preserve context info till transaction is commited
src/org/openbravo/dal/core/DalRequestFilter.java
Asier Lostalé <[email protected]> null
[audit] DAL save context info only when needed
When working with DAL, context information will be saved to Database only if
it is required: a flush is going to be performed and there are changes to be
commited.
src-core/src/org/openbravo/database/SessionInfo.java
src/org/openbravo/dal/service/OBDal.java
Asier Lostalé <[email protected]> null
[audit] don't preserve ad_context_info between different transactions
src-core/src/org/openbravo/database/SessionInfo.java
Asier Lostalé <[email protected]> null
fixed bug 35076: if test leaves admin mode, following test cases fail
Restore previous mode when this situation occurs so that following test cases
start in a clean situation.
src-test/src/org/openbravo/test/base/OBBaseTest.java
Asier Lostalé <[email protected]> null
fixed bug 35075: PersistanceObserver fails if there're observers for
OrderLine
When there are other observers for order line assuming order line has order
set
on save, they can fail.
Now when new order lines are created, a random order is assigned to them.
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/ObserverBaseTest.java
modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/event/PersistanceObserver.java
Last 20 lines of the console output:
[...truncated 3440 lines...]
[junit] Driver info: driver.version: unknown
[junit] Build info: version: '3.0.1', revision: '1969d75', time:
'2016-10-18 09:48:19 -0700'
[junit] System info: host: 'ubuntu.localdomain', ip: '127.0.1.1', os.name:
'Linux', os.arch: 'amd64', os.version: '3.2.0-105-generic', java.version:
'1.8.0_91'
[junit] Driver info: driver.version: unknown
[junit] at <anonymous
class>.anonymous(http://127.0.0.1/int-dummy-pgsql/security/Login_FS.html line
69 > Function:1)
[junit] at <anonymous
class>.handleEvaluateEvent(http://127.0.0.1/int-dummy-pgsql/security/Login_FS.html:69)
[junit]
BUILD FAILED
/srv/ci/workspace/int-dummy-pgsql/SANDBOX/automation/pi/build.xml:347: The
following error occurred while executing this line:
/srv/ci/workspace/int-dummy-pgsql/SANDBOX/automation/pi/build.xml:74: Test
com.openbravo.test.integration.erp.modules.ci.Upgrade_FSSuite failed
Total time: 20 minutes 2 seconds
Build step 'Execute managed script' marked build as failure
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
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