int-gui-pgsql - Build # 1536 - Still Unstable:
Check console output at https://ci.openbravo.com/job/int-gui-pgsql/1536/ to
view the results.
Committers since last success:
Changes for Build #1535
Alvaro Ferraz <[email protected]> null
Related to issue 32504: Add some sleeps in TestCosting to avoid assert
errors
src-test/src/org/openbravo/test/costing/TestCosting.java
Alvaro Ferraz <[email protected]> null
Fixes issue 32504: Improve performance of Costing process
- Add new column cumcost in M_Costing table
- Make some queries in CostingUtils and CostAdjustmentUtils incremental using
cumqty and cumcost from current m_costing record to avoid sum every record in
m_transaction and m_transaction_cost tables.
- Avoid join m_transaction with m_locator if current costing rule has no
warehouse dimension.
- Improve CostingServer checkCostAdjustments method to do query only if needed.
- Avoid count query in CostingBackground process.
- Add indexes in m_costing table: (m_product_id, datefrom, dateto) and
(m_transaction_id).
- Change in AverageCostAdjustment: cost will be taken from trxPrice in case
current stock is zero.
- Update cumqty column name to cumstock in M_Costing table to set it as NULL
and delete it in F&B International Group and QA Testing clients sampledata.
- Assert new m_costing cumcost column in TestCosting.
referencedata/sampledata/F_B_International_Group/M_COSTING.xml
referencedata/sampledata/QA_Testing/M_COSTING.xml
src-db/database/model/tables/M_COSTING.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_ELEMENT.xml
src-db/database/sourcedata/AD_FIELD.xml
src-test/src/org/openbravo/test/costing/TestCosting.java
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingBackground.java
src/org/openbravo/costing/CostingMigrationProcess.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
src/org/openbravo/costing/InventoryAmountUpdateProcess.java
David Miguelez <[email protected]> null
Related to Issue 18273, related to Issue 18271. Fixes extra characters in
html.
modules/org.openbravo.financial.paymentreport/src/org/openbravo/financial/paymentreport/erpCommon/ad_reports/PaymentReport.html
Changes for Build #1536
Augusto Mauch <[email protected]> null
Fixes issue 32702: Access to be backend can be restricted in the store
servers
If the RestrictErpAccessInStoreServer preference is set to Y, only users with
the System Administrator role will be granted access to the backend in the
store servers.
Summary of the changes:
- ServerController & ServerControllerHandler: New classes to be able to know in
core whether the current server is a central or a store server.
- CachedPreference: The value of the RestrictErpAccessInStoreServer is cached.
- UserInfoWidgetActionHandler: Controls that if the access is restricted only
the System Administrator role should be available in the role combo
- index.jsp: Controls that if the access is restricted and the current user is
not using the System Administrator role, the backend workspace is not shown.
- HttpSecureAppServlet: Controls that if the access is restricted the default
role of a user that logs in is System Administrator.
- LoginHandler: Controls that login is denied for users that do not have the
System Administrator role if access is restricted in the store servers. For
users that do have the System Administrator role it makes sure only that role
is used.
src/org/openbravo/server/ServerController.java
src/org/openbravo/server/ServerControllerHandler.java
modules/org.openbravo.client.application/src/org/openbravo/client/application/CachedPreference.java
modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
src-db/database/sourcedata/AD_MESSAGE.xml
src-db/database/sourcedata/AD_REF_LIST.xml
src/index.jsp
src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
src/org/openbravo/base/secureApp/LoginHandler.java
Last 20 lines of the console output:
[...truncated 10780 lines...]
...done.
executing script 'Check log'
[int-gui-pgsql] $ /bin/bash /tmp/build_step_template6089667033562486562.sh
ENABLE
DEBUG: Check log called with parameters: ENABLED=ENABLE
Errors in openbravo log (artifact: int-gui-pgsql.log):
2016-04-21 08:02:48,617 [TP-Processor12] ERROR
org.openbravo.base.secureApp.LoginUtils - Login organization is not in role
organizations list. Role: 4028E6C72959682B01295A071429011E, Org:
E443A31992CB4635AFCAEABE7183CE85
2016-04-21 08:02:48,639 [TP-Processor12] ERROR
org.openbravo.base.secureApp.LoginUtils - Login client is not in role clients
list. Role: 4028E6C72959682B01295A071429011E, Client:
23C59575B9CF467C9620760EB255B389
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
/srv/ci/workspace/int-gui-pgsql/SANDBOX/openbravo.log:
2016-04-21 08:02:48,617 [TP-Processor12] ERROR
org.openbravo.base.secureApp.LoginUtils - Login organization is not in role
organizations list. Role: 4028E6C72959682B01295A071429011E, Org:
E443A31992CB4635AFCAEABE7183CE85
2016-04-21 08:02:48,639 [TP-Processor12] ERROR
org.openbravo.base.secureApp.LoginUtils - Login client is not in role clients
list. Role: 4028E6C72959682B01295A071429011E, Client:
23C59575B9CF467C9620760EB255B389
Build step 'Jenkins Text Finder' changed build result to UNSTABLE
Email was triggered for: Unstable (Test Failures)
Sending email for trigger: Unstable (Test Failures)
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds