Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013853 | Openbravo ERP | 09. Financial management | public | 2010-06-30 20:10 | 2010-07-23 00:00 |
Reporter | plujan | ||||
Assigned To | adrianromero | ||||
Priority | immediate | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 2.50 | ||||
Target Version | Fixed in Version | ||||
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 | 0013853: Having two clients with separated accounting background processes, I have to unscheduled both in order to post accounting | ||||
Description | G/L Posting by DB tables process asked me to verify that no background process was running. I've checked it but the message was still there. So, by querying the database I discovered the problem was an scheduled process from another client running in the same context. See steps. | ||||
Steps To Reproduce | Scenario: Two clients, clientA and clientB Process request for Accounting was disabled for * (done by System Admin) Steps: Enter as clientA_Admin Schedule an accounting process to run hourly. Enter as clientB_Admin Schedule an accounting process to run hourly. Still as clientB_Admin, go to Financial Management > Accounting > Transactions > G/L Posting by DB tables Run the process with the combo boxes left blank You get a proper message, you cannot do it if Accounting is running. Go to Process request and unschedule the Accounting. Note that since you are clientB user you see only the process for clientB and the process for *. Run the G/L Posting again. You get the wrong message, now you should be able to run the process since no accounting is running for your client. Enter as clientA_Admin Unschedule the Accounting process Enter as clientB_Admin Run the G/L Posting again. Now you can run the process. | ||||
Proposed Solution | The query made in the button to verify if process can be launched is: SELECT AD_Process_Request_ID AS Id, AD_Process_ID AS Process_Id, AD_Client_ID AS Client, AD_Org_Id AS Organization, AD_User_ID AS UserId, IsRoleSecurity, Status, Channel, Ob_Context, Params, AD_Process_Set_Id FROM AD_Process_Request WHERE AD_Process_Id = ? I think an extra WHERE condition has to be added: AND (ad_client_id=0 or ad_client_id=CURRENT_CLIENT_ID) | ||||
Additional Information | |||||
Tags | Regression | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-06-30 20:10 | plujan | New Issue | |||
2010-06-30 20:10 | plujan | Assigned To | => adrianromero | ||
2010-06-30 20:10 | plujan | OBNetwork customer | => No | ||
2010-06-30 20:10 | plujan | Tag Attached: Regression | |||
2010-06-30 20:12 | plujan | Note Added: 0028936 | |||
2010-07-01 10:17 | psarobe | Priority | urgent => immediate | ||
2010-07-01 10:17 | psarobe | Status | new => scheduled | ||
2010-07-01 10:17 | psarobe | version | main => 2.50 | ||
2010-07-01 16:15 | hgbot | Checkin | |||
2010-07-01 16:15 | hgbot | Note Added: 0028953 | |||
2010-07-01 16:15 | hgbot | Status | scheduled => resolved | ||
2010-07-01 16:15 | hgbot | Resolution | open => fixed | ||
2010-07-01 16:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e5413a3c8842b127a35619c893ed5410c0b07ef6 [^] | ||
2010-07-01 16:38 | adrianromero | Note Added: 0028957 | |||
2010-07-02 14:51 | hudsonbot | Checkin | |||
2010-07-02 14:51 | hudsonbot | Note Added: 0029004 | |||
2010-07-22 08:58 | sureshbabu | Note Added: 0029462 | |||
2010-07-22 08:58 | sureshbabu | Status | resolved => closed | ||
2010-07-23 00:00 | anonymous | sf_bug_id | 0 => 3033265 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|