Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030223Openbravo ERPA. Platformpublic2015-06-22 12:382015-06-23 16:07
AugustoMauch 
inigosanchez 
highminoralways
closedfixed 
5
 
3.0PR15Q2.33.0PR15Q2.3 
caristu
Core
Production - Confirmed Stable
2014-09-05
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/dc8d0777f38d8678aef43fd4044d8801a56f39d8 [^]
No
0030223: Delete popup is not hidden if two or more rows are deleted at the same time
If two or more records are selected and deleted, the records are deleted properly but the "Deleting..." popup is not hidden. The user will not be able to interact with the window until he refreshes it.
As F&B Admin:
- Open the Product Category window
- Create two product categories
- In grid view, select the two product categories you just created and delete them
- Check that the "Deleting..." popup is not hidden

Note that when the Delete toolbar button is pressed this message is shown in the javascript console:

Uncaught TypeError: undefined is not a function
Approved
blocks defect 00302223.0PR15Q3 closed inigosanchez Delete popup is not hidden if two or more rows are deleted at the same time 
Issue History
2015-06-22 13:12caristuTypedefect => backport
2015-06-22 13:12caristuTarget Version => 3.0PR15Q2.3
2015-06-22 15:42dmitry_mezentsevTag Attached: Approved
2015-06-23 10:20inigosanchezIssue Monitored: caristu
2015-06-23 10:21inigosanchezReview Assigned To => caristu
2015-06-23 10:22hgbotCheckin
2015-06-23 10:22hgbotNote Added: 0078420
2015-06-23 10:22hgbotStatusscheduled => resolved
2015-06-23 10:22hgbotResolutionopen => fixed
2015-06-23 10:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2.3/rev/8fbddf2c1941f287ca64179f899e2b2b82b471a1 [^]
2015-06-23 16:07caristuNote Added: 0078435
2015-06-23 16:07caristuStatusresolved => closed
2015-06-23 16:07caristuFixed in Version => 3.0PR15Q2.3

Notes
(0078420)
hgbot   
2015-06-23 10:22   
Repository: erp/backports/3.0PR15Q2.3
Changeset: 8fbddf2c1941f287ca64179f899e2b2b82b471a1
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Tue Jun 23 10:20:40 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.3/rev/8fbddf2c1941f287ca64179f899e2b2b82b471a1 [^]

Fixes issue 30223: delete popup is not hidden under some circumstances

The problem was that if two or more records were selected and deleted, the records were deleted properly but the "Deleting..." popup is not hidden. The user will not be able to interact with the window until he refreshes it. This happends when in a grid that contains a tree grid view

This happened when a grid contains a treegrid and this one is not open first. In that case this element "view.treeGrid.data.handleUpdate" has not been created yet.

To avoid the problem, it has added a condition that checks whether the properties have been started correctly and thus, if the properties can be accessed.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0078435)
caristu   
2015-06-23 16:07   
Code review + tested OK