Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017186Openbravo ERPA. Platformpublic2011-05-16 19:122011-06-10 18:04
psarobe 
mtaal 
urgentmajorrandom
closedfixed 
5
pi 
3.0MP0 
Core
No
0017186: After selecting a purchase order the "loading data" remains and the window gets blocked
In the payment out window, after selecting a purchase order the window gets blocked. See attach
1. Login as Openbravo/opebravo
2. Go to purchase order and create one. Complete it
3. Go to payment out window and create a header with the same business partner as in point 2.
4. Click the Add details button
5. Change the type combo from invoices to orders. Select the newly purchase order
6. Click process.
7. Click OK

The window remains as it is in the attach

You need to close the window and open it again
No tags attached.
related to defect 00172243.0MP1 closed mtaal Loading data legend appears randomly when launching a process that refresh a window 
related to defect 00167623.0MP2 closed mtaal Sometimes the grid is not showing any data but there is data on it 
png paymentoutloadingdata.png (41,466) 2011-05-16 19:12
https://issues.openbravo.com/file_download.php?file_id=4011&type=bug
png

txt log.txt (15,022) 2011-05-16 19:44
https://issues.openbravo.com/file_download.php?file_id=4014&type=bug
png Screenshot-Windows 7 (Snapshot 6) [Running] - VirtualBox OSE.png (120,272) 2011-06-06 13:13
https://issues.openbravo.com/file_download.php?file_id=4155&type=bug
png

png Screenshot-Windows 7 (Snapshot 6) [Running] - VirtualBox OSE-1.png (140,412) 2011-06-06 13:13
https://issues.openbravo.com/file_download.php?file_id=4156&type=bug
png
Issue History
2011-05-16 19:12psarobeNew Issue
2011-05-16 19:12psarobeAssigned To => mtaal
2011-05-16 19:12psarobeFile Added: paymentoutloadingdata.png
2011-05-16 19:12psarobeModules => Core
2011-05-16 19:32psarobeNote Added: 0037047
2011-05-16 19:33psarobeNote Edited: 0037047bug_revision_view_page.php?bugnote_id=0037047#r2007
2011-05-16 19:41psarobeNote Edited: 0037047bug_revision_view_page.php?bugnote_id=0037047#r2009
2011-05-16 19:44psarobeFile Added: log.txt
2011-05-17 21:15psarobeRelationship addedrelated to 0017224
2011-05-20 11:44psarobePrioritynormal => urgent
2011-05-20 11:44psarobeStatusnew => scheduled
2011-05-20 11:45psarobeNote Added: 0037270
2011-05-20 11:45psarobeRelationship addedrelated to 0016762
2011-05-30 19:50dmitry_mezentsevNote Added: 0037758
2011-05-30 20:40psarobeTarget Version3.0MP0 => 3.0MP1
2011-06-06 13:12mtaalNote Added: 0038029
2011-06-06 13:13mtaalFile Added: Screenshot-Windows 7 (Snapshot 6) [Running] - VirtualBox OSE.png
2011-06-06 13:13mtaalFile Added: Screenshot-Windows 7 (Snapshot 6) [Running] - VirtualBox OSE-1.png
2011-06-06 14:48hgbotCheckin
2011-06-06 14:48hgbotNote Added: 0038038
2011-06-06 14:48hgbotStatusscheduled => resolved
2011-06-06 14:48hgbotResolutionopen => fixed
2011-06-06 14:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/38ebcaec435d83309a2b5dacf0fc51d205e0b7eb [^]
2011-06-07 03:56hudsonbotCheckin
2011-06-07 03:56hudsonbotNote Added: 0038077
2011-06-10 13:34plujanTarget Version3.0MP1 => 3.0MP0
2011-06-10 18:04iperdomoNote Added: 0038262
2011-06-10 18:04iperdomoStatusresolved => closed

Notes
(0037047)
psarobe   
2011-05-16 19:32   
(edited on: 2011-05-16 19:41)
The same happened right now with another situation.
1. Create a purchase invoice. Complete it
2. Click the button Add Payment out plan. The invoice will be there and marked. Click Process and click OK
3. Move to Payment Out tab. There must be a record but it isn't. Instead you have the "Loading data" legend

You need to refresh in this case and it will work

(0037270)
psarobe   
2011-05-20 11:45   
This happens very often using IE9
(0037758)
dmitry_mezentsev   
2011-05-30 19:50   
Tried both scenarios in Chrome and FF several times and was not able to reproduce. Sometimes I saw "Loading data" but after several seconds it finished.

Seems like not very stable case and IE related. Proposal to postpone for MP1.
(0038029)
mtaal   
2011-06-06 13:12   
Retested and saw a related issue:
Can't execute code from a freed script

This error can only be reproduced after re-opening the Payment Out tab.

Only in IE9.

Do new payment out, create a new header, save it and press add details. Select a details and do ok, etc.
When the popup closes a javascript error is displayed. See the attached screenshots.
(0038038)
hgbot   
2011-06-06 14:48   
Repository: erp/devel/pi
Changeset: 38ebcaec435d83309a2b5dacf0fc51d205e0b7eb
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jun 06 14:48:18 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/38ebcaec435d83309a2b5dacf0fc51d205e0b7eb [^]

Fixes issue 17186: After selecting a purchase order the loading data remains and the window gets blocked

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-popup.js
---
(0038077)
hudsonbot   
2011-06-07 03:56   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/aefaedafb236 [^]

Maturity status: Test
(0038262)
iperdomo   
2011-06-10 18:04   
Tested in pi-mp0 @ rev f343313cda26