Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015335Openbravo ERP01. General setuppublic2010-12-01 09:092012-04-02 06:13
elopio 
Sandrahuguet 
highminorsometimes
closedfixed 
5
pi 
3.0MP10 
Core
No
0015335: The initial client setup log is not deterministic
After performing an initial client setup, a log is shown on the window.

This log is not always the same. This makes it harder to test with the automated selenium tests.

The differences experienced while executing the smoke this week is shown on the following diff:
http://code.openbravo.com/tools/automation/pi-smoke-3/diff/471ee02a9453/testfiles/InitialClientSetupLog.txt [^]

Pablo Luján talked to David Alsasua, and he said that the problem is that the statement that selects the datasets for the process returns the order of dependencies (ModuleUtiltiy.orderByDependency) in different ways.
Go to General Setup || Client || Initial Client Setup

Fill the form with the following data:

    * "Client": SampleClient
    * "Currency": Euro
    * "Client Username": SampleClientAdmin
    * "Password": SampleClientAdmin
    * "Confirm password": SampleClientAdmin
    * "Include accounting": unchecked

    * Flag the data set: Document types and default algorithm for bank statement auto matching - Advanced Payables

Click the "OK" button.
With the same input values, the log returned should be always the same.
VMA-Reviewed
Issue History
2010-12-01 09:09elopioNew Issue
2010-12-01 09:09elopioAssigned To => adrianromero
2010-12-01 09:09elopioModules => Core
2011-06-03 10:58dalsasuaAssigned Toadrianromero => dalsasua
2011-07-20 18:13dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-09-26 18:12psarobeStatusnew => scheduled
2011-09-26 18:12psarobefix_in_branch => pi
2012-02-15 19:04iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 16:26vmromanosTag Attached: VMA-Reviewed
2012-03-28 13:09SandrahuguetAssigned Tovmromanos => Sandrahuguet
2012-03-28 13:36SandrahuguetNote Added: 0046833
2012-03-29 17:30hgbotCheckin
2012-03-29 17:30hgbotNote Added: 0046928
2012-03-29 17:30hgbotStatusscheduled => resolved
2012-03-29 17:30hgbotResolutionopen => fixed
2012-03-29 17:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1fcb74939fb70f337acca44564b8294371afb282 [^]
2012-03-29 17:31hgbotCheckin
2012-03-29 17:31hgbotNote Added: 0046930
2012-03-29 17:31vmromanosNote Added: 0046931
2012-03-29 17:31vmromanosStatusresolved => closed
2012-03-29 17:31vmromanosFixed in Version => 3.0MP10
2012-04-02 06:13hudsonbotCheckin
2012-04-02 06:13hudsonbotNote Added: 0047275
2012-04-02 06:13hudsonbotCheckin
2012-04-02 06:13hudsonbotNote Added: 0047276

Notes
(0046833)
Sandrahuguet   
2012-03-28 13:36   
Test Plan:

Go to Initial Client Setup
Fill the form with the following data:
    * "Client": SampleClient1
    * "Currency": EUR
    * "Client Username": SampleClientAdmin1
    * "Password": SampleClientAdmin1
    * "Confirm password": SampleClientAdmin1
    * "Include accounting": unchecked
    * Flag the data set: Document types and default algorithm for bank statement auto matching - Advanced Payables

In other browser tab
Go to Initial Client Setup
Fill the form with the following data:
    * "Client": SampleClient2
    * "Currency": EUR
    * "Client Username": SampleClientAdmin2
    * "Password": SampleClientAdmin2
    * "Confirm password": SampleClientAdmin2
    * "Include accounting": unchecked
    * Flag the data set: Document types and default algorithm for bank statement auto matching - Advanced Payables

Compare the logs and you can see the datasets in the same order
(0046928)
hgbot   
2012-03-29 17:30   
Repository: erp/devel/pi
Changeset: 1fcb74939fb70f337acca44564b8294371afb282
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Mar 28 13:22:15 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1fcb74939fb70f337acca44564b8294371afb282 [^]

Fixed issue 15335 Order log in Initial Client Setup
Order the datasets contained in other datasets in
Initial Client Setup log.

---
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---
(0046930)
hgbot   
2012-03-29 17:31   
Repository: erp/devel/pi
Changeset: f0bd7b1defccc9463204c0c4401f38e96fb583ca
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Mar 29 17:28:47 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f0bd7b1defccc9463204c0c4401f38e96fb583ca [^]

Issue 15335: updated copyright year

---
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---
(0046931)
vmromanos   
2012-03-29 17:31   
code review + testing OK
(0047275)
hudsonbot   
2012-04-02 06:13   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test
(0047276)
hudsonbot   
2012-04-02 06:13   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test