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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032908
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminorhave not tried2016-05-09 14:082016-08-11 18:40
ReporterplujanView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR16Q4
StatusclosedFix in branchFixed in SCM revision34b24bdf94bf
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032908: Grid recordcount has a delay to be updated

DescriptionWhen closing the form and returning to grid view after creating a record, the grid shows, for an instant, the outdated value of records. See steps.

This issue is important, not only for the visual glitch, but because Selenium tests take this value and if the machine is fast enough this issue generates false positives.
Steps To Reproduce1. Enter as F&B admin user
2. Go to Unit of Measure window
3. Check the grid, note the number of records counted (i.e. 13)
4. Create a new record on the form view
5. Create another record on the form.
6. Click the close button to return to grid.
7. Note the number of records counted. It says 13 for a fraction of second and then it changes to the expected 15 value. (See attached screenshot)
Proposed SolutionThis issue seems a natural consequence of a delay introduced in the updateRowDisplay method:

https://code.openbravo.com/erp/devel/pi/file/58bacde3f953/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js#l1577 [^]

A good workaround to this issue (providing the delay has been inserted to solve another issue) is to add to this method a flag, true only when the grid has been loaded and the count has been recalculated.
TagsNo tags attached.
Attached Filespng file icon vlcsnap-2016-05-09-11h15m12s29.png [^] (168,433 bytes) 2016-05-09 14:08

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00186783.0MP4 closedmtaal Procurement Selenium test is failing on record counting for the grid 

-  Notes
(0088538)
hgbot (developer)
2016-07-15 13:20

Repository: erp/devel/pi
Changeset: 34b24bdf94bf338f372c21d30f462013d4304b8c
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jul 15 10:12:00 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/34b24bdf94bf338f372c21d30f462013d4304b8c [^]

fixed bug 32908: Grid recordcount has a delay to be updated

  Removed unneded delay

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0088678)
caristu (developer)
2016-07-27 09:30

Code review + testing OK.
(0089016)
hudsonbot (developer)
2016-08-11 18:40

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

- Issue History
Date Modified Username Field Change
2016-05-09 14:08 plujan New Issue
2016-05-09 14:08 plujan Assigned To => platform
2016-05-09 14:08 plujan File Added: vlcsnap-2016-05-09-11h15m12s29.png
2016-05-09 14:08 plujan Modules => Core
2016-05-09 14:08 plujan Triggers an Emergency Pack => No
2016-05-25 17:08 alostale Relationship added related to 0018678
2016-07-15 10:42 alostale Status new => acknowledged
2016-07-15 13:20 hgbot Checkin
2016-07-15 13:20 hgbot Note Added: 0088538
2016-07-15 13:20 hgbot Status acknowledged => resolved
2016-07-15 13:20 hgbot Resolution open => fixed
2016-07-15 13:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/34b24bdf94bf338f372c21d30f462013d4304b8c [^]
2016-07-27 08:23 caristu Review Assigned To => caristu
2016-07-27 09:17 alostale Assigned To platform => alostale
2016-07-27 09:30 caristu Note Added: 0088678
2016-07-27 09:30 caristu Status resolved => closed
2016-07-27 09:30 caristu Fixed in Version => 3.0PR16Q4
2016-08-11 18:40 hudsonbot Checkin
2016-08-11 18:40 hudsonbot Note Added: 0089016


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker