Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006639Openbravo ERPA. Platformpublic2008-12-18 10:592009-01-23 11:12
iperdomo 
shuehner 
normalmajoralways
closedout of date 
202.6.23-gentoo-r9
2.40 
 
No
Core
No
0006639: The Accounting Server only posts documents related to one client
The accounting server background process only posts documents of one client.
Constraints:
* Need to have unposted documents on different clients

Steps:
* Apply the patch to your code
* Start tomcat and wait 10 seconds
* Check your catalina.out, you should get something similar to:

No. clients: 6
No. clients: 6
No. clients: 6
processPL - Client: 1000000
No. clients: 6
No. clients: 6
No. clients: 6
No. clients: 6
No. clients: 6
No. clients: 6

Note: 6 is the number of active clients. Only the Client with id 1000000 is processed

No tags attached.
depends on backport 0006826 closed anthony_wolski The Accounting Server only posts documents related to one client 
depends on defect 0007088 closed shuehner Background Accounting has some issues when launched from the new scheduler system 
diff PeriodicBackground.java.diff (836) 2008-12-18 10:59
https://issues.openbravo.com/file_download.php?file_id=569&type=bug
Issue History
2008-12-18 10:59iperdomoNew Issue
2008-12-18 10:59iperdomoAssigned To => rafaroda
2008-12-18 10:59iperdomosf_bug_id0 => 2444810
2008-12-18 10:59iperdomoFile Added: PeriodicBackground.java.diff
2008-12-18 10:59iperdomoOBNetwork customer => No
2008-12-18 10:59iperdomoRegression testing => No
2009-01-09 17:58psarobeStatusnew => scheduled
2009-01-09 17:58psarobeNote Added: 0012063
2009-01-09 17:58psarobefix_in_branch => trunk
2009-01-10 18:16rafarodaAssigned Torafaroda => anthony_wolski
2009-01-10 23:15iperdomoNote Added: 0012098
2009-01-21 14:05shuehnerAssigned Toanthony_wolski => shuehner
2009-01-23 11:05shuehnerRelationship addeddepends on 0007088
2009-01-23 11:12shuehnerStatusscheduled => closed
2009-01-23 11:12shuehnerNote Added: 0012558
2009-01-23 11:12shuehnerResolutionopen => out of date

Notes
(0012063)
psarobe   
2009-01-09 17:58   
Hi Iperdomo and Rafa,

There is a patch in this issue. Is this patch the solution for the bug? If yes, why the issue is not in status resolved? It seems that it happens in 2.40, so why is it fixed (patch) and a backport has not been created? I'm going to schedule the bug and create the bakport
(0012098)
iperdomo   
2009-01-10 23:15   
Hi Pablo,

The patch file is to get the output for number of clients and, the current processing client. Is not a fix to the issue.

Cheers,

Iván
(0012558)
shuehner   
2009-01-23 11:12   
Tested background accounting in trunk with two clients. You have one process request per client then the accounting does correctly process the specified client per request => No change required in trunk