Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0015794 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 09. Financial management | major | always | 2011-01-27 13:19 | 2011-03-01 13:56 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | dalsasua | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.50 | Fixed in SCM revision | 63c194f03f6c | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | 2.50MP25 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0015794: bankstatement in a wrong status: it is not processed and debt payments are cancelled | |||||||
Description | if a bankstatement has a lot of payments (we have reproduced the problem with 1200 lines, but the end client has got 368 lines), the execution of process of this bankstatement could be along to several seconds. If during this execution, the header is saved by other user, this request is paused until the process is finished. When the request is executed, the field "processed" is saved with value "N", but the bank statement has been processed, because the debt payments are cancelled in a setlement generated by bankstatement_post process | |||||||
Steps To Reproduce | 1. create a bankstatement with a lot of lines (close to 1000) 2. process bankstatement. 3. before that bankstatement_post finish, other user edits the bankstatement header, changes the name (for example), and saves the bankstatement 4. the execution of step 2 finish, and the bankstatement is saved like "processed" = N | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0034013) hgbot (developer) 2011-02-02 14:14 |
Repository: erp/stable/2.50 Changeset: 820242d519ab4a5e0e4972290f750341e63fa980 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Wed Feb 02 14:13:34 2011 +0100 URL: http://code.openbravo.com/erp/stable/2.50/rev/820242d519ab4a5e0e4972290f750341e63fa980 [^] Fixes issue 0015794: bankstatement in a wrong status: it is not processed and debt payments are cancelled It has been added a condition in the C_BANKSTATEMENT trigger that verifies when saving that there has not been running process concurrently --- M src-db/database/model/triggers/C_BSTMT_CHK_RESTRICTIONS_TRG.xml --- |
(0034015) adrianromero (viewer) 2011-02-02 14:22 |
* Testing the issue Kindly follow the steps to test and verify that now in one window the process finish successfully and in the window where the user tried to save a record it appears a message saying that there is other process active. Verify also that the message appears when unprocessing bankstatements. Verify also that records in bankstatemens can be created/deleted/updated without any impediment. And finally check the correct behavior in both database engines PostgreSQL and Oracle. * Other areas affected It has been modified the trigger of table C_BANKSTATEMENS. All actions related to this table can be affected. |
(0034023) hgbot (developer) 2011-02-03 11:27 |
Repository: erp/stable/2.50 Changeset: 63c194f03f6cf44c2ff04098a92c5dbed3824939 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Thu Feb 03 11:25:55 2011 +0100 URL: http://code.openbravo.com/erp/stable/2.50/rev/63c194f03f6cf44c2ff04098a92c5dbed3824939 [^] Fixes issue 0015794: bankstatement in a wrong status: it is not processed and debt payments are cancelled It has been added a condition in the C_BANKSTATEMENT trigger that verifies when saving that there has not been running process concurrently --- M src-db/database/model/triggers/C_BSTMT_CHK_RESTRICTIONS_TRG.xml --- |
![]() |
|||
Date Modified | Username | Field | Change |
2011-01-27 13:19 | adrianromero | New Issue | |
2011-01-27 13:19 | adrianromero | Assigned To | => dalsasua |
2011-01-27 13:19 | adrianromero | Modules | => Core |
2011-01-27 13:19 | adrianromero | OBNetwork customer | => Yes |
2011-01-27 13:19 | adrianromero | Issue generated from | 0015566 |
2011-01-27 13:19 | adrianromero | Relationship added | depends on 0015566 |
2011-01-27 13:20 | adrianromero | Status | new => scheduled |
2011-01-27 13:20 | adrianromero | fix_in_branch | => pi |
2011-01-28 16:51 | dalsasua | fix_in_branch | pi => 2.50 |
2011-02-02 14:14 | hgbot | Checkin | |
2011-02-02 14:14 | hgbot | Note Added: 0034013 | |
2011-02-02 14:14 | hgbot | Status | scheduled => resolved |
2011-02-02 14:14 | hgbot | Resolution | open => fixed |
2011-02-02 14:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/820242d519ab4a5e0e4972290f750341e63fa980 [^] |
2011-02-02 14:22 | adrianromero | Note Added: 0034015 | |
2011-02-03 11:27 | hgbot | Checkin | |
2011-02-03 11:27 | hgbot | Note Added: 0034023 | |
2011-02-03 11:27 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/stable/2.50/rev/820242d519ab4a5e0e4972290f750341e63fa980 [^] => http://code.openbravo.com/erp/stable/2.50/rev/63c194f03f6cf44c2ff04098a92c5dbed3824939 [^] |
2011-03-01 13:56 | dalsasua | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |