Bug 1223770 - RHEV-M admin portal pagination issue: disappeared list of VMs after sort it and select next page
Summary: RHEV-M admin portal pagination issue: disappeared list of VMs after sort it a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 3.5.4
Assignee: Eli Mesika
QA Contact: Lukas Svaty
URL:
Whiteboard: infra
Depends On: 1198506
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-21 12:28 UTC by rhev-integ
Modified: 2016-02-10 19:14 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1198506
Environment:
Last Closed: 2015-09-06 17:08:50 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 38459 0 master MERGED core: do not use distinct if sort expr have func Never
oVirt gerrit 38492 0 ovirt-engine-3.5 MERGED core: do not use distinct if sort expr have func Never
oVirt gerrit 42367 0 ovirt-engine-3.5 MERGED reset page to 1 on sort Never

Comment 1 Lukas Svaty 2015-06-10 09:23:33 UTC
No error on engine.log, but displaying the VMs also would be preferable :)

Reproduction steps:
1. Create 200 VMs (pool)
2. Go to 'Virtual Machines' tab
3. Try to go second page (all VMs are displayed correctly)
4. Try to sort by some column by clicking on it ('Name'/'Host'/'Cluster...')

Result: all VMs disappears, 'No items to display' is shown
Log message:
2015-06-10 11:11:26,174 INFO  [org.ovirt.engine.core.bll.SearchQuery] (ajp-/127.0.0.1:8702-2) ResourceManager::searchBusinessObjects - erroneous search text - Vms: page 2 SORTBY NAME ASC

Moving back to ASSIGNED.

Comment 2 Oved Ourfali 2015-06-10 09:30:40 UTC
That won't block 3.5.3. Eli - please have a look, and if the verification was done correctly then fix that for 3.5.4.

Comment 3 Eli Mesika 2015-06-10 13:26:39 UTC
working on that, seems a bit diffrent from the reported one but could be related

Comment 4 Eli Mesika 2015-06-10 21:38:48 UTC
After investigation 


Seems related to the following patch om master 
https://gerrit.ovirt.org/#/c/28392/

IMO this BZ should be VERIFIED and we should consider if we want to backport teh change described in the above patch to 3.5 and if the answer is yes, open for it a new BZ 

Oved, please advice how to proceed 

1) If to backport the fix described above to 3.5
2) If to do that in the context of this BZ or a new one

Comment 5 Oved Ourfali 2015-06-11 02:36:21 UTC
You can't mark the bug as verified, as it wasn't fixed on 3.5.3, and this bug us targeted to 3.5.3. Unless the faulty use-case isn't related to this bug. 

If it isn't related, move to verified, open a new one on ux, describing the use-case. If it is related, consult with Einav whether they can backport the fix or not. If not, this bug will be closed as won't fix for 3.5.z.

Comment 6 Eli Mesika 2015-06-15 09:50:40 UTC
This bug is actually the same as https://bugzilla.redhat.com/show_bug.cgi?id=1119309 which was fixed for 3.6

Solution is basically backporting the fixing patch https://gerrit.ovirt.org/#/c/36084 to 3.5

Comment 8 Eyal Edri 2015-09-06 17:08:50 UTC
RHEV 3.5.4 Released. closing current release.


Note You need to log in before you can comment on or make changes to this bug.