Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032908 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | minor | have not tried | 2016-05-09 14:08 | 2016-08-11 18:40 | |||
Reporter | plujan | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR16Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 34b24bdf94bf | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | caristu | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0032908: Grid recordcount has a delay to be updated | |||||||
Description | When 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 Reproduce | 1. 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 Solution | This 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(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 (viewer) 2016-07-27 09:30 |
Code review + testing OK. |
(0089016) hudsonbot (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => No |
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 |