Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030224Openbravo ERPA. Platformpublic2015-06-22 12:382015-06-23 16:04
AugustoMauch 
inigosanchez 
highminoralways
closedfixed 
5
 
3.0PR15Q1.63.0PR15Q1.6 
caristu
Core
Production - Confirmed Stable
2014-09-05
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/dc8d0777f38d8678aef43fd4044d8801a56f39d8 [^]
No
0030224: 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.0PR15Q1.6
2015-06-22 15:42dmitry_mezentsevTag Attached: Approved
2015-06-23 10:22inigosanchezIssue Monitored: caristu
2015-06-23 10:22inigosanchezReview Assigned To => caristu
2015-06-23 10:24hgbotCheckin
2015-06-23 10:24hgbotNote Added: 0078421
2015-06-23 10:24hgbotStatusscheduled => resolved
2015-06-23 10:24hgbotResolutionopen => fixed
2015-06-23 10:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q1.6/rev/485f950cd72a79d3d0358d7bb3831236c3b91e86 [^]
2015-06-23 16:04caristuNote Added: 0078434
2015-06-23 16:04caristuStatusresolved => closed
2015-06-23 16:04caristuFixed in Version => 3.0PR15Q1.6

Notes
(0078421)
hgbot   
2015-06-23 10:24   
Repository: erp/backports/3.0PR15Q1.6
Changeset: 485f950cd72a79d3d0358d7bb3831236c3b91e86
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Tue Jun 23 10:23:09 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.6/rev/485f950cd72a79d3d0358d7bb3831236c3b91e86 [^]

Fixes issue 30224: 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
---
(0078434)
caristu   
2015-06-23 16:04   
Code review + tested OK