Bug 34384 - Grid cannot handle Memory stores very well
Grid cannot handle Memory stores very well
Status: CLOSED DUPLICATE of bug 32027
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-21 17:39 CET by Dirk Wiesenthal
Modified: 2023-03-25 06:50 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2014-03-21 17:39:01 CET
The Grid (a ContainerWidget wrapping a real Grid) overwrites its grid like so:

var _Grid = declare([EnhancedGrid], {
  _fetch: function(start, isRender) {
    // force start=0
    arguments[0] = 0;
    this.inherited(arguments);
  }
});

This is done because of Bug#25476

But this has a drawback when using something else than the umc/store (which is used in UDM, UCR, ...), e.g. Memory (which is done in UVMM, ...)

The grid does not load the other items. They are empty. So if a VM has, say, 100 disks, only the first 30 can be seen.

What makes this a little worse: The internal grid cannot be overwritten directly by something like:

grid = new Grid({ _fetch: function() {...} }), but one has to

grid = new Grid({});
grid._grid._fetch = function() {...}
Comment 1 Florian Best univentionstaff 2016-10-10 14:12:26 CEST
Will be obsolete by Bug #32027

*** This bug has been marked as a duplicate of bug 32027 ***
Comment 2 Florian Best univentionstaff 2017-02-21 15:43:58 CET
The problem is that the memory-store was not wrapped with an Observable(). The new dgrid raises a exception then.