int-gui-oracle - Build # 985 - Fixed:
Check console output at https://ci.openbravo.com/job/int-gui-oracle/985/ to
view the results.
Committers since last success:
Changes for Build #982
David Baz Fayos <[email protected]> null
Fixed issue 29687: DateTime now works ok with 12:XX:XX times
The root of the problem was that there was a 'typo' and the
'minus' sign was missing in the 'if' statement in charge
of evaluate if it was in 24h mode or not. This was used later
to substract 12h to the entered date if this was in the
12:XX:XX form, change that obviously doesn't apply in the
24h mode
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities-date.js
Inigo Sanchez <[email protected]> null
Fixes bug 28934:Error when launching "Create AP Expense Invoices".
The problem wasn't related with "Openbravo External Connection Pools module".
This issue
has been reproduced without using "Apache JDBC Connection Pool", this is the
error log:
Apr 27, 2015 12:51:47 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet P801268 threw exception
org.hibernate.TransactionException: JDBC commit failed
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:157)
at
org.openbravo.dal.core.SessionHandler.commitAndClose(SessionHandler.java:258)
.........................
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:701)
Caused by: org.postgresql.util.PSQLException: Cannot commit when autoCommit is
enabled.
at
org.postgresql.jdbc2.AbstractJdbc2Connection.commit(AbstractJdbc2Connection.java:705)
at
org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:166)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142)
In both cases (default connection pool or apache jdbc connection pool) there
was an error
related with the way of manage connections in "Create AP Expense Invoices"
process.
This connection is obtained with getConnection() method and finally it is
closed in
realeaseCommitConnection() method. This method gets the connection from the
session.
In following uses of "getConnection()" there is an error because this process
closed
the connection of the session.
To fix this, using "getTransactionConnection()" instead of "getConnection()"
method. This method
creates a new connection instead of using the connection of the session. For
this reason, it can
be closed without any problem.
src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java
Eduardo Argal Guibert <[email protected]> null
Fixes Issue 29680:Add details pop up in Payment Out window filters records
with supplier reference
having clause fixed to take into account supplier reference
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/hqlinjections/AddPaymentOrderInvoicesTransformer.java
Jorge Garcia <[email protected]> null
Fixed issue 29697: Description field is set with "null" in the FA
Transaction
Description field is filled in with "null" in the FA Transaction when matched
to GL Item.
The problem was in the Match Statement process, more specifically, in the
Add new transaction button. The AddTransanctionActionHandler didn't
take in consideration that the received description could be null.
The fix for this issue is to check if the received description is null
or blank.
Now, the description field fill in the correct description.
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddTransactionActionHandler.java
Reinaldo Guerra <[email protected]> null
Fixed bug 28702: Assets Organization should not be changed if it has lines
Like happens in other windows such as Products and Business Partner, the
organization's field behaviour in Assets window was changed to not be updatable.
Now when the Assets record is saved, it is not possible to change its
organization, so there will not be inconsistencies with previous created lines
if the amortizations are recalculated.
src-db/database/sourcedata/AD_COLUMN.xml
Changes for Build #983
Asier Lostalé <[email protected]> null
related to issue 29719: fixed jsLint
- Do not use global functions exposed by QUnit but use the ones defined within
the QUnit global object
- Define QUnit as /*global*/ directive JSLint not to complain about it use
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-navbar-test.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-property-store-test.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-ui-test.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-utilities-date-test.js
modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/ui-test-suite/index.html
modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/test/ob-myopenbravo-test.js
Asier Lostalé <[email protected]> null
fixed issue 29270: prevent table recreation in update.database
When adding or removing columns to existing tables update.database does not
recreate the table but just appends the new columns. In order to do this,
column phyisical position wihtin the table is no longer important, being
relative
only to the time they were created but not to the module they belong to.
Asier Lostalé <[email protected]> null
[recreation] prevent table recreation
src-db/database/lib/dbsourcemanager.jar
Asier Lostalé <[email protected]> null
[recreation] added parameter to update.database to force recreation i
All/specific tables can be forced to be recreated when database is updated in
case they have model changes.
src-db/database/build.xml
Asier Lostalé <[email protected]> null
fixed issue 29719: Recover QUnit JavaSript test cases
QUnit test cases are now ready to be included in CI:
-QUnit library has been updated to latest version (1.1.18)
-JavaScript files are loaded in a proper order to guarantee dependencies
-Test cases create an Openbravo session not requiring to use a 2nd tab
-Results are kept in a js object so Selenium can easily access
Asier Lostalé <[email protected]> null
[jsTest] reorganize OBTest object to be easier managed by Selenium
modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/ui-test-suite/index.html
Asier Lostalé <[email protected]> null
[jsTest] fixed test cases
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-navbar-test.js
modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/test/ob-myopenbravo-test.js
Asier Lostalé <[email protected]> null
[jsTest] fixed test case
modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/test/ob-myopenbravo-test.js
Asier Lostalé <[email protected]> null
[jsTest] proper js load and execution, create session before StaticResources
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/TestComponent.java
modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/ui-test-suite/index.html
Asier Lostalé <[email protected]> null
[jsTest] adapted tests to new QUnit version
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-navbar-test.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/test/ob-property-store-test.js
Asier Lostalé <[email protected]> null
[jsTest] Updated QUnit to 1.18.0
modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/ui-test-suite/qunit/qunit.css
modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/ui-test-suite/qunit/qunit.js
Changes for Build #984
Carlos Aristu <[email protected]> null
fixes issue 29667: NPE Error when a child tab is based on an HQL Query table
The NPE was raised because the code was retrieving the entity for a table not
based on a db table. This kind of tables do not have BaseOBObjects.
The FIC was already controlling this when the tab has a related table of this
type but it was not considering the case when the parent table is related to a
table of this type.
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
Carlos Aristu <[email protected]> null
fixes issue 29665: NP Error raised when using HQL Based Tables on a level 2
tab
A unnecessary request was being done when accessing to the HQL query based
subtab. This was caused because the tab was not being identified properly as a
subtab.
The view.parentProperty was used to identify if we are on a child tab. This
property could be undefined depending on the configuration of the tab in the
application dictionary.
Now view.parentView is used instead of view.parentProperty because it does not
return undefined in this cases
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Changes for Build #985
Unai Martirena <[email protected]> null
Related to bug 29091: Code Review
[1]: Fix copyright
[2]: Change != for <>
src-db/database/model/functions/A_AMORTIZATION_PROCESS.xml
Jorge Garcia <[email protected]> null
Fixed issue 29091: Fully depreciated field is not updated
The process didn't update the Fully Depreciated field when one or more
asset amortization lines were unprocessed.
The problem was in the amortization process.
Now the process changes the isFullyDepreciated field if the Depreciated
Value and the Depreciated Plan fields are differents.
src-db/database/model/functions/A_AMORTIZATION_PROCESS.xml
Last 20 lines of the console output:
[...truncated 13162 lines...]
Total time: 2 seconds
executing script 'Tomcat stop'
[int-gui-oracle] $ /bin/bash /tmp/build_step_template1698726556857404037.sh
ENABLE
DEBUG: Tomcat stop called with parameters: ENABLED=ENABLE
* Stopping Tomcat servlet engine for Openbravo tomcat
...done.
executing script 'Check log'
[int-gui-oracle] $ /bin/bash /tmp/build_step_template4643533286821539188.sh
ENABLE
DEBUG: Check log called with parameters: ENABLED=
Check log: openbravo.log is clean
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
Email was triggered for: Fixed
Trigger Success was overridden by another trigger and will not send an email.
Sending email for trigger: Fixed
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds