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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018064
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2011-07-22 12:542012-01-25 18:04
ReporterpjuvaraView Statuspublic 
Assigned Toguilleaer 
PriorityhighResolutionfixedFixed in Version3.0MP8
StatusclosedFix in branchFixed in SCM revision7246b6950ddd
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP1SCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018064: Wrong visual feedback on linked items while loading

DescriptionThere are situations where linked items can be very slow because of either number of different objects linking to the record or the volume of data.

Performance should be reviewed but, besides that, we need to ensure that the system gives the right visual clue, allowing the user to understand that the query is still in progress.

At the moment, the Linked Items region opens up with a text of "No items to show" and, when the query is completed, the items are shown.

When it takes a long time to complete the query, the user assumes that "No items to show" means that the query is complete and didn't return any data.

See the screenshot in attachment where LinkedItems-1 has been taken before LinkedItems-2.
Steps To ReproduceIn Butler, open a license, navigate to an instance and for that instance open linked items to see the heartbeat.
Since the volume of beat is very high, this is a slow query and you can see the effect very clearly.
Proposed SolutionShow a progress bar while the query is still in progress and reserve the sentence "No items to show" only to cases when no data has been found.

Final solution: Show "Loading data" as it happens in the rest of the ERP
TagsnextMP
Attached Filespng file icon LinkedItems-1.png [^] (101,650 bytes) 2011-07-22 12:54


png file icon LinkedItems-2.png [^] (105,135 bytes) 2011-07-22 12:55

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0020052 closedguilleaer When there aren't linked items categories the empty message is not shown 

-  Notes
(0044446)
guilleaer (developer)
2012-01-19 11:10

The issue has been resolved showing a loading text while the data is being retrieved.

Test plan:
 1. Add a sleep in "doPost" method of the class UsedByLink.java. This step is not necessary but is better to test it.
 2. When linked item section is expanded the linked items categories will be retrieved from server
 3. During the sleep time you should see the loading text in the linked items category Grid.
 4. When one category is selected in the category grid, the linked items will be retrieved from the server
 5. While linked items are being retrieved you will see the loading text.

Regressions:
No regression risks
(0044528)
hgbot (developer)
2012-01-24 18:37

Repository: erp/devel/pi
Changeset: 7246b6950ddd9bd62b112e62caa3dedeb74b5d98
Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Jan 19 10:42:26 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7246b6950ddd9bd62b112e62caa3dedeb74b5d98 [^]

Fixed Issue 0018064: Loading text is shown while linked items are being loaded

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-linked-items.js
---
(0044530)
alostale (manager)
2012-01-24 18:40

Code reviewed and tested on pi@7246b6950ddd
(0044586)
hudsonbot (developer)
2012-01-25 18:04

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/e66cf6210386 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-07-22 12:54 pjuvara New Issue
2011-07-22 12:54 pjuvara Assigned To => alostale
2011-07-22 12:54 pjuvara File Added: LinkedItems-1.png
2011-07-22 12:54 pjuvara Web browser => Google Chrome
2011-07-22 12:54 pjuvara Modules => Core
2011-07-22 12:55 pjuvara File Added: LinkedItems-2.png
2011-08-01 11:31 psarobe Web browser Google Chrome => Google Chrome
2011-08-01 11:31 psarobe Priority normal => high
2011-08-01 11:31 psarobe Severity major => minor
2011-08-01 11:31 psarobe Status new => scheduled
2011-08-01 11:31 psarobe Target Version => 3.0MP5
2011-08-01 11:31 psarobe Proposed Solution updated
2011-10-31 14:28 alostale Target Version 3.0MP5 => 3.0MP6
2011-11-15 08:41 alostale Tag Attached: nextMP
2011-11-15 08:59 alostale Web browser Google Chrome => Google Chrome
2011-11-15 08:59 alostale Target Version 3.0MP6 =>
2011-12-15 09:01 alostale Assigned To alostale => guilleaer
2012-01-19 11:10 guilleaer Note Added: 0044446
2012-01-24 18:37 hgbot Checkin
2012-01-24 18:37 hgbot Note Added: 0044528
2012-01-24 18:37 hgbot Status scheduled => resolved
2012-01-24 18:37 hgbot Resolution open => fixed
2012-01-24 18:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7246b6950ddd9bd62b112e62caa3dedeb74b5d98 [^]
2012-01-24 18:40 alostale Note Added: 0044530
2012-01-24 18:40 alostale Status resolved => closed
2012-01-24 18:40 alostale Fixed in Version => 3.0MP8
2012-01-25 18:04 hudsonbot Checkin
2012-01-25 18:04 hudsonbot Note Added: 0044586
2012-03-16 15:30 guilleaer Relationship added related to 0020052


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker