int-accounting-pgsql - Build # 1236 - Still Failing:
Check console output at https://ci.openbravo.com/job/int-accounting-pgsql/1236/
to view the results.
Committers since last success:
Changes for Build #1231
Alvaro Ferraz <[email protected]> null
Related to issue 33063: Add modulescript to add process definition access
Create a modulescript to add process definition access to any role which had
access to old Reset Accounting process.
It will be run only once when doing update.database.
src-util/modulescript/build/classes/org/openbravo/modulescript/ResetAccountingAccess.class
src-util/modulescript/build/classes/org/openbravo/modulescript/ResetAccountingAccessData.class
src-util/modulescript/src/org/openbravo/modulescript/ResetAccountingAccess.java
src-util/modulescript/src/org/openbravo/modulescript/ResetAccountingAccess_data.xsql
Alvaro Ferraz <[email protected]> null
Related to issue 33063: Code review improvements
- Client parameter: change selector, add default value and remove selector
fields.
- Organization parameter: change selector and where clause, add default value
and remove selector fields.
- Table parameter: change selector and where clause, change table from ADTable
to ADTablePostV and remove selector fields.
- Remove unnecessary created ad_ref_table and ad_val_rule records.
- Deactivate and deprecate old Reset Accounting process.
- Remove recordId parameter and get correctly datefrom and dateto fields in
ResetAccountingHandler.java class.
- Add getLegalOrBusinessOrgsChilds method in ResetAccounting.java class to
retrieve every legal and business unit together with their child organizations
from selected client in case * organization has been selected.
- Call getCalendarId for each organization in the loop to avoid errors when
adOrgId is '0'.
src-db/database/sourcedata/AD_MENU.xml
src-db/database/sourcedata/AD_PROCESS.xml
src-db/database/sourcedata/AD_REFERENCE.xml
src-db/database/sourcedata/AD_REF_TABLE.xml
src-db/database/sourcedata/AD_VAL_RULE.xml
src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
src-db/database/sourcedata/OBUISEL_SELECTOR.xml
src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
src/org/openbravo/common/actionhandler/ResetAccountingHandler.java
src/org/openbravo/erpCommon/ad_process/ResetAccountingProcess.java
src/org/openbravo/financial/ResetAccounting.java
Mark <[email protected]> null
Fixes issue 33063: "Reset Accounting" for several organization & tables at
once
A new "Reset Accounting" Process Definiton is created to replace the
functionality of the "Reset Accounting" process, but allowing to select
multiple tables at once and also to select the "*" organization to process all
the organizations when the reset accountings process is executed.
src/org/openbravo/common/actionhandler/ResetAccountingHandler.java
src-db/database/sourcedata/AD_MENU.xml
src-db/database/sourcedata/AD_REFERENCE.xml
src-db/database/sourcedata/AD_REF_TABLE.xml
src-db/database/sourcedata/AD_TREENODE.xml
src-db/database/sourcedata/AD_VAL_RULE.xml
src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
src-db/database/sourcedata/OBUIAPP_PROCESS.xml
src-db/database/sourcedata/OBUISEL_SELECTOR.xml
src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
src/org/openbravo/financial/ResetAccounting.java
Changes for Build #1232
Asier Lostalé <[email protected]> null
fixed bug 33143: property field not visible in tree grid view
Tree grid didn't implement property fields management.
Now it is implemented by sending from client the additional properties
defined in the tree's standard view's grid and making use of it when convering
BOBs to JSONs.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
Asier Lostalé <[email protected]> null
related to bug 33143: property field not visible in tree grid view
Code clean up: tree grid sent _selectedProperties parameter which was parsed
in backend but never used. Now client does not send this info and backend does
not parse it.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
Changes for Build #1233
Alvaro Ferraz <[email protected]> null
Fixes issue 33261: Random failure in testCostingMC444
src-test/src/org/openbravo/test/costing/TestCosting.java
Changes for Build #1234
Asier Lostalé <[email protected]> null
fixed bug 33166: writable access is not checked when editing client/org
A role without access to organization A could edit it in Organization window.
Writable access was bypassed in this case both in UI and DAL.
This patch includes two fixes:
- DAL (SecurityChecker) treats instances of Client and Organization objects
as special cases getting the client or organization ids not from FK
property
but directly as their id. In this manner checking for those entities is
performed.
- Grid UI. Similar implementation is done to decide whether a row should be
marked as ready only. In this case it is not possible to reuse previous
code
as the checks are done on a json object instead of on a DAL object.
modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
src/org/openbravo/dal/security/SecurityChecker.java
Asier Lostalé <[email protected]> null
related to bug 33166: writable access is not checked when editing client/org
Code clean up: consolidated 3 implementations of checkWritable in one:
- SecurityChecker.checkWriteAccess duplicated code in
SecurityChecker.isWritable
with the only difference of returning a boolean instead of throwing an
exception. Now isWritable invokes checkWriteAccess.
- FIC implemented again this check to make the UI readonly for non writable
rows, now it invokes SecurityChecker.isWritable method.
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
src/org/openbravo/dal/security/SecurityChecker.java
Asier Lostalé <[email protected]> null
fixed bug 33255: some organizations not shown in tree view
In Organization window tree view non accessible organizations where not
counted as children of displayed ones. This behavior was not consistent
with standard grid, which in the exceptional case of Organization window,
shows all organizations even non accessible.
This case is now handled as special when counting children nodes in tree
datasource.
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
Changes for Build #1235
Alvaro Ferraz <[email protected]> null
Related to issue 33082: Code review improvements
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/ModifyPaymentPlanActionHandler.java
Atul Gaware <[email protected]> null
Fixes issue 33082: Payment Schedule Detail duplicated in "Modify Payment
Plan"
Avoid creation of payment schedule detail for cancelled psd if there exists for
a payment detail.
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/ModifyPaymentPlanActionHandler.java
Changes for Build #1236
Alvaro Ferraz <[email protected]> null
Related to issue 33082: Improve method doc
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/ModifyPaymentPlanActionHandler.java
Last 20 lines of the console output:
[...truncated 10165 lines...]
[junit] Jun 15, 2016 8:02:40 PM org.openqa.selenium.remote.Augmenter
extractRemoteWebDriver
[junit] WARNING: Augmenter should be applied to the instances of
@Augmentable classes or previously augmented instances only
[junit] Jun 15, 2016 8:04:41 PM org.openqa.selenium.remote.Augmenter
extractRemoteWebDriver
[junit] WARNING: Augmenter should be applied to the instances of
@Augmentable classes or previously augmented instances only
[junit] Jun 15, 2016 8:07:23 PM org.openqa.selenium.remote.Augmenter
extractRemoteWebDriver
[junit] WARNING: Augmenter should be applied to the instances of
@Augmentable classes or previously augmented instances only
[junit]
BUILD FAILED
/srv/ci/workspace/int-accounting-pgsql/SANDBOX/automation/pi/build.xml:317: The
following error occurred while executing this line:
/srv/ci/workspace/int-accounting-pgsql/SANDBOX/automation/pi/build.xml:74: Test
com.openbravo.test.integration.erp.modules.functionalteam.accounting.testsuites.FAMa_MultiaccountingSchema.MultiAccountingSuite
failed
Total time: 45 minutes 58 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
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds