int-full-pgsql-compile-all - Build # 445 - Still Failing:
Check console output at
https://ci.openbravo.com/job/int-full-pgsql-compile-all/445/ to view the
results.
Committers since last success:
Changes for Build #442
RM packaging bot <[email protected]> null
CI: merge back from main
RM packaging bot <[email protected]> null
CI: update AD_MODULE to version 26090
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.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
Augusto Mauch <[email protected]> null
Fixes bug 28870: Callouts are run when moving from grid to form with a
shortcut
When a dynamic column is modified, a call is done to the FIC to run the
callouts. The list of dynamic columns is stored in the form (in the view form
and also in the grid edit form), and is loaded from the
FIC response. For instance, when a record is created (either or grid or form
view), a call is done to the FIC in NEW mode, and the dynamicCols list is
initialized.
The cause of this issue is that it was possible to open a record in form view
in an inconsistent state, having the form's dynamicCols list not set. In this
state the callouts are not run. To get to this in
consistent state, the following steps should take place:
- The user creates a record in the grid (a call to the FIC in NEW mode is done,
and the dynamicCols list of the grid edit form is initialized)
- Without saving, the user presses Ctrl+F2 to edit the record in form view. No
FIC call is done (there is no need for it), so even though the record is shown
in the form view, its dynamicCols list is not s
et. The callouts will not run until a call to the FIC is done (for instance by
refreshing the record).
To fix this, the list of dynamicCols of the grid edit form is copied to the
form view. This is done in the ksAction_EditInForm function, which is the
function executed when the user presses Ctrl+F2 to move
from the grid view to the form view.
The list of dynamic columns returned from the FIC to the grid view is the same
as the one returned from the FIC to the form view, so it is not a problem is a
dynamic columns is shown in the form view but n
ot in the grid view.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Reinaldo Guerra <[email protected]> null
Fixed bug 27010: Invoice Dimensional Report should not consider voided
status.
A new primary filter, was added to the Sales Invoice Dimensional Report, to
allow exclude or not, documents voided in report's output.
This filter can be managed through a new preference that was created too, in
order to let user decide if filter will be shown. By default the filter will be
hidden and documents voided will be considered.
src-db/database/sourcedata/AD_REF_LIST.xml
src-db/database/sourcedata/AD_TEXTINTERFACES.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR_data.xsql
Jorge Garcia <[email protected]> null
Fixed issue 28819: Include "Accounting" tab in Internal Consumption
It is necessary to include "Accounting" tab in Internal Consumption window.
The accounting tab has been added to the Internal Consumption window and
has been configurated properly.
Now, the Internal Consumption windows shows the Accounting tab.
src-db/database/sourcedata/AD_FIELD.xml
src-db/database/sourcedata/AD_TAB.xml
Jorge Garcia <[email protected]> null
Fixed issue 28917: There is no Processed field in transaction tab
In the Financial Account window, in the Transactions tab, there is no field
in order to know if a created transaction is processed or not.
The solution is to display the field Processed in the Windows, Tabs and Fields.
Now, the Processed Field is shown in the Transaction tab.
src-db/database/sourcedata/AD_FIELD.xml
Unai Martirena <[email protected]> null
Fixes bug 28051: Reserved qty now is correct.
In this issue 3 changes have been done:
[1]: In M_RESERVATION_POST stored procedure, when calling to
AD_UPDATE_PINSTANCE an extra parameter has been added ('N'). This has been done
to avoid to do a commit when working with Oracle database, because it was
causing to behave different in Postgres and Oracle.
[2]: In StockReservationPickAndEditDataSource, when opening Manage Reservations
P&E from Sales Order, it retrieves a Reservation related to the Order Line if
it exists and it processes. This was failing in Oracle if it was already
processed, so a check has been added to avoid this case.
[3]: In ManageReservationActionHandler, when clicking Done in Manage
Reservation P&E, it was first reserving what the user was typing in the P&E,
and if it was not processed the reservation, it was processing it. As the
M_RESERVATION_POST tries always to reserve as much as possible, it was
overriding the previously set amounts. In order to prevent this, now first the
reservation is being processed and after that the values typed in the UI are
being set to the reservation.
src-db/database/model/functions/M_RESERVATION_POST.xml
src/org/openbravo/common/actionhandler/ManageReservationActionHandler.java
src/org/openbravo/common/datasource/StockReservationPickAndEditDataSource.java
Changes for Build #443
Changes for Build #444
Changes for Build #445
RM packaging bot <[email protected]> null
CI: merge back from main
RM packaging bot <[email protected]> null
CI: update AD_MODULE to version 26102
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.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
David Baz Fayos <[email protected]> null
Related to issue 19728: Do more JS code formatting
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-onchange-functions.js
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient-labels.js
Asier Lostalé <[email protected]> null
fixed issue 26794: some bg processes are restarted on Tomcat start
Processes sheduled to be run immediatelly or executed from a button in the
toolbar,
that were in execution when Tomcat was stopped, were re-started next time
Tomcat
was started again.
In these 2 cases now the process requests are marked as 'System Restart' not
rescheduling them again.
src/org/openbravo/scheduling/OBScheduler.java
src/org/openbravo/scheduling/Process.java
src/org/openbravo/scheduling/ProcessRequest_data.xsql
Rafa Alonso <[email protected]> null
Related to issue 29103: Exclude the vendor directory from the jsLint check
list
The problem is that external libs do not follow javascript linter rules
In this case, the non-minified javascript file has been edited to be linter
compliant
modules/org.openbravo.client.kernel/jslint/jscheck-module-hg
Alvaro Ferraz <[email protected]> null
Fixes issue 28817: OutOfMemory importing bank statement using the csv
importer
ScrollableResults object, used to scrolls OBQuery of business partners when
importing bank statements, was directly closed to release resources, between
each line's iteration of the csv file. This change avoids the memory overusing,
so now it is possible to import a csv file with 4000 lines or more. Also,
OBCriteria has been changed into Query in order to use arryas instead of DAL
objects what reduces the memory usage.
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java
Augusto Mauch <[email protected]> null
Fixes bug 29097: A menu tree node can be moved with a template in
development
When the Openbravo Trees were reimplemented [1], there was a problem
reimplementing the logic done when a Menu tree item is moved. Before the
reimplementation, it was possible to move a menu tree item if the module it
belonged to was in development or if there was any template module in
development. The reimplementation did not take into account the templates, so
from then on it has not been possible to moved menu tree nodes having a
template in development.
To fix this, templates are taken into accout in the MenuTreeOperationManager
class.
[1] https://issues.openbravo.com/view.php?id=25906
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/treeChecks/MenuTreeOperationManager.java
Reinaldo Guerra <[email protected]> null
Fixed bug 28948: Orders Awaiting Delivery report do not show well the Stock
Qtty
Orders Awaiting Delivery report's query, was not obtaining correctly the
Quantity in Stock, due to a wrong comparison with the value of the attribute
set of products in order's line, when it is seted as null.
To avoid this, the report's sql query was changed to compare the attribute set
values of the storage detail between them, if the order's lines product has not
an attribute set value defined. In other case, are compared the attribute set
values of the order's line and the storage detail.
Now the product's stock quantity is correctly shown.
modules/org.openbravo.reports.ordersawaitingdelivery/src/org/openbravo/reports/ordersawaitingdelivery/erpCommon/ad_reports/ReportOrderNotShipped_data.xsql
Asier Lostalé <[email protected]> null
fixed issue 27315: Slow query for interrupted bg processes on tomcat start
On Tomcat start, background processes that were in execution are updated to
change
their status from 'Processing' to 'System Restart'.
This query does a sequential scan on ad_process_run which can be slow if
there are
many records.
This fix:
* Adds a filter on STATUS column which is indexed. The amount of processes
in PRC
status is expected to be small (specially comapring with the total rows in
this
table), so indexed scan should be used instead of sequential scan.
* Adds log to inform about the number of executions marked as 'System
Restart'
src/org/openbravo/base/OBSchedulerInitializerListener.java
Atul Gaware <[email protected]> null
28772: Commission payment details are duplicated if the invoice is paid in
two
different months
In case of BasisType = Fully Paid Documents and BasisAmt = NetAmount,
Commission detail amount is calculated as per percentage of invoice schedule
amount with respect to total invoice amount based on payment terms lines if
exists any.
src-db/database/model/functions/C_COMMISSION_PROCESS.xml
Augusto Mauch <[email protected]> null
Fixes issue 28754: Context info is properly sent for selectors in P&E grids
The problem was that when a selector drop down was open in a P&E window, the
context info sent to the datasource did not include any info of the record
being edited. This made impossible to include in the selector a validation
based on other fields of the P&E window.
To fix this, the OBSelectorItem.prepareDSRequest function has been updated. Now
that function detects if the selector belongs to a P&E grid, and if so it adds
to the datasource request params the context info of the record being edited.
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
Unai Martirena <[email protected]> null
Fixes bug 29093: LazyInitializationException avoided calculating BOM prod.
cost
prodLine has been reloaded in case cost calculation of previous BOM Product has
cleared the session.
src/org/openbravo/costing/CostingAlgorithm.java
Alvaro Ferraz <[email protected]> null
Fixes issue 28507: Error shown when posting a reconciliation
When posting a reconciliation with a payment with a payment method not included
in the financial account, a warning message will be shown instead of an error
message, saying "Documemt disabled for accounting"
src/org/openbravo/erpCommon/ad_forms/DocFINReconciliation.java
Asier Lostalé <[email protected]> null
fixed bug 28712: record selection lost in p&e grid if data has multiple
pages
In P&E grid with data displayed in several pages, if part of the selection was
not in the 1st page two errors occured:
-If after selecting a record in 2nd page another one in the 1st page was
selected,
selection of record in 2nd page was lost
-If record in 2nd page was selected by using a filter, the filter was
removed, and
the p&e was submitted, the selection was not sent to backend
The problem is in SC grid.getSelectedRecords which returns records only in
current
page.
To solve this a cache of selected/unselected records is completelly
maintained for p&e
grids without using getSelectedRecords, this is used also to send the
selected recors
on p&e submission.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-pickeditgrid.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
Last 20 lines of the console output:
[...truncated 2168 lines...]
[javac] ^
[javac]
/srv/ci/workspace/int-full-pgsql-compile-all/srcAD/org/openbravo/erpWindows/InternalConsumption/Accounting.java:925:
cannot find symbol
[javac] symbol : variable AccountingData
[javac] location: class
org.openbravo.erpWindows.InternalConsumption.Accounting
[javac] if (AccountingData.getCurrentDBTimestamp(this,
data.factAcctId).equals(
[javac] ^
[javac] 18 errors
BUILD FAILED
/srv/ci/workspace/int-full-pgsql-compile-all/build.xml:489: The following error
occurred while executing this line:
/srv/ci/workspace/int-full-pgsql-compile-all/src/build.xml:280: Compile failed;
see the compiler error output for details.
Total time: 5 minutes 47 seconds
Build step 'Execute managed script' marked build as failure
Checking console output
/srv/ci/jobs/int-full-pgsql-compile-all/builds/2015-03-03_01-31-40/log:
[java] 4349 [main] ERROR org.openbravo.data.Sqlc - SQL error in query:
SELECT to_char(Fact_Acct.Created, ?) as created,
Email was triggered for: Failure
Sending email for trigger: Failure
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds