int-api - Build # 3964 - Failure:
Check console output at
https://ci.openbravo.com/job/int-api/3964/ to view the results.
Committers since last success:
Changes for Build #3964
RM packaging bot <
staf...@openbravo.com> null
Merge back from main
RM packaging bot <
staf...@openbravo.com> null
Merge temporary head for 3.0PR19Q2
RM packaging bot <
staf...@openbravo.com> null
Added signature for changeset edfc7e0681c5
.hgsigs
RM packaging bot <
staf...@openbravo.com> null
Added tag 3.0PR19Q2 for changeset 5f8913c80af5
.hgtags
RM packaging bot <
staf...@openbravo.com> null
Update AD_MODULE version to 3.0PR19Q2
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/
org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml
modules/
org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
src-db/database/sourcedata/AD_MODULE.xml
Nono Carballo <
non...@gmail.com> null
Fixes issue 40772: Uses bind parameters in query
Instead of using string concatenation in client and organization filters in
where clause, bind parameters are used
src/org/openbravo/erpCommon/ad_callouts/SL_TaxCategory_Org.java
Asier Lostalé <
asier....@openbravo.com> null
fixes 40751: raised minimum supported Oracle database version from 11.1 to 11.2
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseVersionCheck.class
src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseVersionCheck.java
src-util/diagnostic/config/diagnostics.properties
Nono Carballo <
non...@gmail.com> null
Fixes issue 40775: Uses bind parameters in query
Instead of using string concatenation in query, bind parameters are used.
src/org/openbravo/financial/ResetAccounting.java
Pablo Lujan <
pablo...@openbravo.com> null
Related with issue 40797 Merge from local branch
Pablo Lujan <
pablo...@openbravo.com> null
Fixes issue 40797 Updates the list of supported and recommended browsers
src/org/openbravo/erpCommon/security/Login.html
Augusto Mauch <
august...@openbravo.com> null
Fixes issue 40781: Standard properties are taken from underlying window in P&E
When a P&E window contains a grid and a request to the datasource of the P&E window is done, it is
not clear whether the P&E grid or the underlying grid standard properties (tabId, tableId, windowId, etc)
should be included in the contextInfo.
Before this changeset [1] was pushed, the standard properties were taken from the underlying grid. The
changeset modified the behaviour, so that the P&E grid standard properties were included instead.
This was necessary because the SelectorConstants.includeOrgFilter method needed the table ID of the
P&E grid.
But the change caused another problem: Some OBBindings were relying on the underlying grid standard
properties being included in the contextInfo.
To fix both problems, now a new property called inpPickAndExecuteTableId is included when doing a
request from a P&E grid, and that property is referenced by SelectorConstants.includeOrgFilter.
The contextInfo now will include the standard properties of the underlying grid, as it was done
before [1].
[1]
https://code.openbravo.com/erp/devel/pi/rev/1ed089db27e7036cf53026ca873dbcf104d79bb9
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorConstants.java
Jorge Garcia <
jorge....@openbravo.com> null
Fixed issue 40790: Roles require back-office access to log in to mobile apps
MobileLoginHandler does a back-office login to later select mobile default role,
it expects back-office to fail and keep session in case of restricted role login
attempt.
Back-office login handler was changed to fail and remove session in case there is
no back-office role in current user's list. This made not possible to log in to
mobile apps.
Now if logging in to a mobile application session is kept after failure as it was
before.
src/org/openbravo/base/secureApp/LoginHandler.java
Carlos Aristu <
carlos...@openbravo.com> null
fixes issue 40742: wrong export to CSV having the grid filtered by a date time
After the following changeset[1], exporting the grid to CSV was not working properly having the grid filtered by a date time column. Although the fix is correct, it caused the criteria sent to the datasource in this type of requests to stop being handled properly.
To avoid this problem, when exporting to CSV a grid filtered by a date time column we send in the criteria the plain date (in the same way as it is being done for the standard grid DS requests) and the datasource will take care of building the date filter properly through the AdvancedQueryBuilder.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
Víctor Martínez Romanos <
victor....@openbravo.com> null
Related to issue 40699: code review improvements
Centralize localStrLine definition in just one line, when it's used.
Change parameter names to make more difficult to have conflicts with user defined params.
Remove 'if' for corner case. This creates a very small change in this scenario:
select 'RecordId: ' || @RecordId@ || ', Line: ' || @Line@ from dual
When Line is null then:
Before: NULL
After: RecordId: 3232199ED4824EE3A07BCC1E580ABFE7, Line: NULL
src/org/openbravo/erpCommon/ad_forms/FactLine.java
Nono Carballo <
non...@gmail.com> null
Fixes issue 40699: Uses bind parameters in query
Instead of using string concatenation to form the query, bind parameters are
used.
src/org/openbravo/erpCommon/ad_forms/FactLine.java
Carlos Aristu <
carlos...@openbravo.com> null
fixes bug 40643: centralize in XMLUtils creation of objects to deal with XML
src-test/src/org/openbravo/test/dal/IssuesTest.java
src-test/src/org/openbravo/test/webservice/BaseWSTest.java
src/org/openbravo/base/provider/OBProviderConfigReader.java
src/org/openbravo/base/secureApp/LoginUtils.java
src/org/openbravo/base/session/OBPropertiesProvider.java
src/org/openbravo/dal/xml/EntityExcelXMLConverter.java
src/org/openbravo/dal/xml/EntityXMLConverter.java
src/org/openbravo/dal/xml/XMLUtil.java
src/org/openbravo/erpCommon/ad_forms/TranslationManager.java
src/org/openbravo/erpCommon/modules/ImportModule.java
src/org/openbravo/erpCommon/utility/ISOCurrencyPrecision.java
src/org/openbravo/service/rest/DalWebService.java
src/org/openbravo/service/web/WebServiceUtil.java
Asier Lostalé <
asier....@openbravo.com> null
fixed issue 40712: HelpWindow.generateWindow is not using bind-variables
src/org/openbravo/erpCommon/ad_help/HelpWindow.java
Nono Carballo <
non...@gmail.com> null
Fixes issue 40704: Escapes values printed to servlet response
Escapes values before printing them to Servlet response.
src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesDimensionalAnalyzeJR.java
src/org/openbravo/erpCommon/ad_reports/ReportShipmentDimensionalAnalyzeJR.java
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java
Sandra Huguet <
sandra...@openbravo.com> null
related to issue 40681 code review changes
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java
Nono Carballo <
non...@gmail.com> null
Fixes issue 40681: Prevents use of string concatenation in query
Query to get business partners was formed using string concatenation.
This fix replaces the string concatenation by bind parameters in query.
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java
Sandra Huguet <
sandra...@openbravo.com> null
Fixed issue 40671 Fix query to compare organization with corresponding id.
Fix query to compare organization with corresponding id instead of the
business object.
Fix wrong filter date, period.getEndingDate() is used and the correct
one is period.getStartingDate().
src/org/openbravo/materialmgmt/ResetValuedStockAggregated.java
Nono Carballo <
non...@gmail.com> null
Fixes issue 40638 fix match business partner by token
Fix match business partner by token in import bank statement process
Do properly the get in businessPartnersScroll
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java
Asier Lostalé <
asier....@openbravo.com> null
fixed bug 40634: Discounts and Promotions window fails under some circumstances
When Discount and Promotions view was requested having previously initialized
ADCS with that window via FIC a LazyInitializationException was thrown.
The problem is this window has a tree reference field which was partially initialized
in ADCS.
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
Javier Armendáriz <
javier.a...@openbravo.com> null
Fixed issue 40604: NPE if email timeout is not set
Adding another null check to verify not only in the case that the email config
does not exist, but also that the timeout value is empty. In both cases the
default timeout should be used.
src/org/openbravo/erpCommon/utility/poc/EmailManager.java
Last 20 lines of the console output:
[...truncated 827 lines...]
method org.openbravo.model.financialmgmt.payment.FIN_Reconciliation.getFINReconciliationLineTempList(): missing in /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
method org.openbravo.model.financialmgmt.payment.FIN_Reconciliation.setFINReconciliationLineTempList(java.util.List<org.openbravo.model.financialmgmt.payment.FIN_ReconciliationLineTemp>): 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/hudson8994685047895857630.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/3964/log:
[checkAPI] 10481 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution -
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any