Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011277Openbravo ERP09. Financial managementpublic2009-11-09 07:302009-11-14 00:00
arunkumar 
iperdomo 
immediatecriticalrandom
closedfixed 
5
pi 
 
Core
No
0011277: Open/Close period control should show "Process completed successfully" message.
Open/Close period control in Financial Management -> Accounting -> Transactions does not show "Process completed successfully" message.
Login as Openbravo/openbravo
Go to Financial management->Accounting->Transactions->Open/Close period control
Click new and select:
Organization: Pamplona
Calendar: Sample client fiscal calendar
Until period No.: 12
Period action: Open period
Save
Press Open/Close all and click OK

The successful completion should display "Process completed successfully" message.
No tags attached.
jpg Opencloseperiodcontrolerror.JPG (112,556) 2009-11-09 07:30
https://issues.openbravo.com/file_download.php?file_id=1926&type=bug
jpg

png openclosemessage.png (56,473) 2009-11-11 12:10
https://issues.openbravo.com/file_download.php?file_id=1940&type=bug
png
Issue History
2009-11-09 07:30arunkumarNew Issue
2009-11-09 07:30arunkumarAssigned To => rafaroda
2009-11-09 07:30arunkumarFile Added: Opencloseperiodcontrolerror.JPG
2009-11-10 13:09priyamNote Added: 0021693
2009-11-10 13:09priyamPrioritynormal => immediate
2009-11-11 06:23arunkumarNote Added: 0021703
2009-11-11 06:23arunkumarSeveritymajor => critical
2009-11-11 08:43jpabloaeIssue Monitored: jpabloae
2009-11-11 11:00rafarodaNote Added: 0021713
2009-11-11 11:00rafarodaAssigned Torafaroda => vmromanos
2009-11-11 11:00rafarodaReproducibilityhave not tried => random
2009-11-11 12:10vmromanosNote Added: 0021715
2009-11-11 12:10vmromanosFile Added: openclosemessage.png
2009-11-11 13:22rafarodaNote Added: 0021721
2009-11-11 14:21rafarodaNote Added: 0021724
2009-11-11 14:21rafarodaAssigned Tovmromanos => shuehner
2009-11-11 14:21rafarodaStatusnew => acknowledged
2009-11-12 06:27priyamIssue Monitored: priyam
2009-11-12 07:03arunkumarNote Added: 0021752
2009-11-13 10:54shuehnerAssigned Toshuehner => iperdomo
2009-11-13 11:25iperdomoStatusacknowledged => scheduled
2009-11-13 11:25iperdomofix_in_branch => pi
2009-11-13 11:26hgbotCheckin
2009-11-13 11:26hgbotNote Added: 0021802
2009-11-13 11:26hgbotStatusscheduled => resolved
2009-11-13 11:26hgbotResolutionopen => fixed
2009-11-13 11:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4b55a0966c43e10e1f79b25cd0940e512d54a9f7 [^]
2009-11-13 17:36hgbotCheckin
2009-11-13 17:36hgbotNote Added: 0021818
2009-11-13 17:36hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/4b55a0966c43e10e1f79b25cd0940e512d54a9f7 [^] => http://code.openbravo.com/erp/devel/pi/rev/f1832e868d2d788f427f7abd71c8daf718e56475 [^]
2009-11-13 18:00shuehnerNote Added: 0021820
2009-11-13 18:00shuehnerStatusresolved => closed
2009-11-14 00:00anonymoussf_bug_id0 => 2897494

Notes
(0021693)
priyam   
2009-11-10 13:09   
Raising the priority of this as it breaks the smoke test in builds.openbravo.com
(0021703)
arunkumar   
2009-11-11 06:23   
This issue occurs randomly while executing the PI build.Today QA daily build for PI failed in Edit Organization while verifying the message"Process completed successfully".Raised the severity of the issue.
(0021713)
rafaroda   
2009-11-11 11:00   
I reproduced it both in Oracle and PostgreSQL with remote machines but could not reproduce it in local with Oracle.

In both cases, after performing the action, the page goes to grid mode and the record becomes read-only.

Víctor, any comment?

Thanks.
(0021715)
vmromanos   
2009-11-11 12:10   
The expected behavior for this process is:
1- The user clicks the Open/Close all button
2- If everything goes well, the window becomes readonly and the "Process completed successfully" message is shown.

I've tested it in an old 2.50MP1 virtual appliance, and it's working fine (see attached file). The last (and unique) change done to the C_Period_Process function, which is the responsible of this process, was done on Oct 13 by Jayakumar, but I don't think this change is the responsible of this new behavior.

I have several questions:
1- When was the first time you realized about this behavior change?
2- Are other PL processes affected by this change? Arunkumar said that the "Set as ready" process is also suffering the same random behavior.
3- Do you know if someone has recently modified the code that manages database's messages?

My feeling is the bug is related to the code that manages db's messages and not in the PL processes.

Regards,
Víctor
(0021721)
rafaroda   
2009-11-11 13:22   
Also reproducing in:
* Project & Service Management || Transactions || Multiphase Project || Multiphase Project >> Project Phase when clicking Create sales order from Project Phase
* Project & Service Management || Transactions || Service Project when clicking on Create Sales Order from Project
(0021724)
rafaroda   
2009-11-11 14:21   
Only able to reproduce it with remote machines and not able to see log file.
(0021752)
arunkumar   
2009-11-12 07:03   
Answer for victor's question:

1- When was the first time you realized about this behavior change?

I realized this behavior change when I verify the daily automation builds running in our QA machine.Initially I have seen failure in Open/Close period control on 9/11/2009. For past three days it is failed in Edit Organization itself. This also break the smoke suite executions in hudson machine too.

2- Are other PL processes affected by this change? Arunkumar said that the "Set as ready" process is also suffering the same random behavior.

I have seen this failure in three processes.

** Financial Management || Accounting || Transactions || Open/Close Period Control
** General Setup || Enterprise || Organization
** Procurement Management || Transactions || Purchase Invoice || Header -> Create Lines From
(0021802)
hgbot   
2009-11-13 11:26   
Repository: erp/devel/pi
Changeset: 4b55a0966c43e10e1f79b25cd0940e512d54a9f7
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Nov 13 11:26:00 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4b55a0966c43e10e1f79b25cd0940e512d54a9f7 [^]

Fixes issue 11277: Check the form parameter to undefined and null

---
M web/js/utils.js
---
(0021818)
hgbot   
2009-11-13 17:36   
Repository: erp/devel/pi
Changeset: f1832e868d2d788f427f7abd71c8daf718e56475
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Nov 13 17:35:21 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f1832e868d2d788f427f7abd71c8daf718e56475 [^]

Fixes issue 11277: The hidden input is with a capital I, IsPopUpCall

---
M web/js/utils.js
---
(0021820)
shuehner   
2009-11-13 18:00   
tested working fine in remote instance.