Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030222
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2015-06-22 12:382015-06-23 16:47
ReporterAugustoMauchView Statuspublic 
Assigned Toinigosanchez 
PriorityhighResolutionfixedFixed in Version3.0PR15Q3
StatusclosedFix in branchFixed in SCM revisionb727e3caf4c2
ProjectionnoneETAnoneTarget Version3.0PR15Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2014-09-05
Regression introduced in release3.0PR14Q4
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/dc8d0777f38d8678aef43fd4044d8801a56f39d8 [^]
Triggers an Emergency PackNo
Summary

0030222: Delete popup is not hidden if two or more rows are deleted at the same time

DescriptionIf 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.
Steps To ReproduceAs 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
TagsNo tags attached.
Attached Filespng file icon DeletingPopup.png [^] (82,735 bytes) 2015-06-22 12:38

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00302233.0PR15Q2.3 closedinigosanchez Delete popup is not hidden if two or more rows are deleted at the same time 
depends on backport 00302243.0PR15Q1.6 closedinigosanchez Delete popup is not hidden if two or more rows are deleted at the same time 
caused by defect 00263843.0PR14Q4 closedinigosanchez The tree grid view is not refreshed after deleting a record 

-  Notes
(0078414)
caristu (developer)
2015-06-22 13:11

Updated severity to minor. This issue only affects to those windows that have a tree structure associated to it. The records are removed but the pop-up is not hidden because of the js error.
(0078419)
hgbot (developer)
2015-06-23 10:18

Repository: erp/devel/pi
Changeset: b727e3caf4c29038b59d0f7b84feeaea4c9751d1
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Tue Jun 23 10:14:39 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b727e3caf4c29038b59d0f7b84feeaea4c9751d1 [^]

Fixes issue 30222: 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
---
(0078433)
caristu (developer)
2015-06-23 16:02

Code review + tested OK
(0078441)
hudsonbot (developer)
2015-06-23 16:47

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/1697e5e9cd2d [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-06-22 12:38 AugustoMauch New Issue
2015-06-22 12:38 AugustoMauch Assigned To => platform
2015-06-22 12:38 AugustoMauch File Added: DeletingPopup.png
2015-06-22 12:38 AugustoMauch Modules => Core
2015-06-22 12:38 AugustoMauch Triggers an Emergency Pack => No
2015-06-22 13:08 AugustoMauch Regression level => Production - Confirmed Stable
2015-06-22 13:08 AugustoMauch Regression date => 2014-09-05
2015-06-22 13:08 AugustoMauch Regression introduced in release => 3.0PR14Q4
2015-06-22 13:08 AugustoMauch Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/dc8d0777f38d8678aef43fd4044d8801a56f39d8 [^]
2015-06-22 13:08 AugustoMauch Relationship added caused by 0026384
2015-06-22 13:09 caristu Severity major => minor
2015-06-22 13:09 AugustoMauch Assigned To platform => inigosanchez
2015-06-22 13:11 caristu Note Added: 0078414
2015-06-22 13:12 caristu Status new => scheduled
2015-06-23 10:16 inigosanchez Issue Monitored: caristu
2015-06-23 10:17 inigosanchez Review Assigned To => caristu
2015-06-23 10:18 hgbot Checkin
2015-06-23 10:18 hgbot Note Added: 0078419
2015-06-23 10:18 hgbot Status scheduled => resolved
2015-06-23 10:18 hgbot Resolution open => fixed
2015-06-23 10:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b727e3caf4c29038b59d0f7b84feeaea4c9751d1 [^]
2015-06-23 16:02 caristu Note Added: 0078433
2015-06-23 16:02 caristu Status resolved => closed
2015-06-23 16:02 caristu Fixed in Version => 3.0PR15Q3
2015-06-23 16:08 caristu Target Version => 3.0PR15Q3
2015-06-23 16:47 hudsonbot Checkin
2015-06-23 16:47 hudsonbot Note Added: 0078441


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker