Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0019768 | Openbravo ERP | 01. General setup | public | 2012-02-14 18:43 | 2012-03-02 15:38 |
|
Reporter | psarobe | |
Assigned To | eduardo_Argal | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0019768: When you apply a module through the Initial Org Setup window it inserts datasets without the checksum value |
Description | When you apply a module through the Initial Org Setup window, the system inserts record/s into the AD_ORGMODULE window but without the corresponding checksum
At the same time if the module has three dataset it is inserting three lines in the AD_ORGMODULE window and this is WRONG
It must insert just one line and link together the corresponding checksums
This is the way it does the Enterprise Module management window |
Steps To Reproduce | 1. Go to initial client setup
2. Fill the mandatory fields and do not select the Advance&Payables module
3. Execute the process
4. Login with the new user
5. Go to Initial Org Setup and select the Advance&Payables module
6. Execute the process
Now you must do a query to the database for that newly client. This query must be done on table AD_ORGMODULE for Advance&Payables module
You will notice 2 things:
1. You have three records instead of one
2. The column checksum is null and it should the corresponding checksum |
Proposed Solution | As it happens in Enterprise module management you should have just one records and for the checksum column the system must link together the corresponding values |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-02-14 18:43 | psarobe | New Issue | |
2012-02-14 18:43 | psarobe | Assigned To | => eduardo_Argal |
2012-02-14 18:43 | psarobe | Modules | => Core |
2012-02-14 18:43 | psarobe | OBNetwork customer | => No |
2012-02-15 20:33 | eduardo_Argal | Status | new => scheduled |
2012-02-15 20:33 | eduardo_Argal | fix_in_branch | => pi |
2012-02-16 10:06 | hgbot | Checkin | |
2012-02-16 10:06 | hgbot | Note Added: 0045171 | |
2012-02-16 10:06 | hgbot | Status | scheduled => resolved |
2012-02-16 10:06 | hgbot | Resolution | open => fixed |
2012-02-16 10:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4561e31e98e32654fe06e4d4684958088b24a7ea [^] |
2012-02-17 08:38 | psarobe | Note Added: 0045207 | |
2012-02-17 08:38 | psarobe | Status | resolved => closed |
2012-02-17 08:38 | psarobe | Fixed in Version | => pi |
2012-02-17 18:13 | hgbot | Checkin | |
2012-02-17 18:13 | hgbot | Note Added: 0045246 | |
2012-02-17 19:57 | dalsasua | Note Added: 0045248 | |
2012-02-17 21:00 | dalsasua | Note Added: 0045249 | |
2012-03-02 15:37 | hudsonbot | Checkin | |
2012-03-02 15:37 | hudsonbot | Note Added: 0045864 | |
2012-03-02 15:38 | hudsonbot | Checkin | |
2012-03-02 15:38 | hudsonbot | Note Added: 0045886 | |
Notes |
|
(0045171)
|
hgbot
|
2012-02-16 10:06
|
|
|
|
|
Fixed. Works fine
Test:
1. Go to initial client setup
2. Fill the mandatory fields and do not select the Advance&Payables module
3. Execute the process
4. Login with the new user
5. Go to Initial Org Setup and select the Advance&Payables module
6. Execute the process
7. Do a query in AD_ORGMODULE.
8. Just one record and have linked together the three checksum separate by comma
CORRECT |
|
|
(0045246)
|
hgbot
|
2012-02-17 18:13
|
|
|
|
|
Test Plan:
1. Go to initial client setup
2. Fill the mandatory fields and do not select the Advance&Payables module
3. Execute the process
4. Login with the new user
5. Go to Initial Org Setup and select the Advance&Payables module
6. Execute the process
7. Do a query in AD_ORGMODULE.
8. Just one record and have linked together the three checksum separate by comma
9. Go to initial client setup
10. Fill the mandatory fields and do not select the Advance&Payables module
11. Execute the process
12. Do a query in AD_CLIENTMODULE.
13. Just one record and have linked together the three checksum separate by comma |
|
|
|
After executing the steps in the plan. I executed the following query for client created applying datasets in initial client setup:
select * from (
select 'cm' as table, c.name as client, m.name as module, cm.version, '' as checksum
from ad_clientmodule cm left join ad_module m on m.ad_module_id=cm.ad_module_id left join ad_client c on c.ad_client_id=cm.ad_client_id
union all
select 'om' as table, c.name, m.name, cm.version, cm.checksum
from ad_orgmodule cm left join ad_module m on m.ad_module_id=cm.ad_module_id left join ad_client c on c.ad_client_id=cm.ad_client_id
) as foo order by client;
Obtaining following result:
· om;Cliente2;Advanced Payables and Receivables Mngmt;3.0.15265;3359875425927173862256776671284900067957,150513565400800394543833512211019964966,199569570667128490006795792717386225677
· cm;Cliente2;Advanced Payables and Receivables Mngmt;3.0.15265;
· cm;Cliente2;Core;3.0.15265;
What means that both entries where created: in ad_clientmodule and ad_orgmodule. I'm not that sure that this is correct. Nevertheless, I verified that the dataset can be updated again, when a new version arrives; and that it's not provided in enterprise module management until a new version with different checksum is installed, so I think it's correct. |
|
|
|
|
|
|
|