Bug 1416352

Summary: [Admin portal] Creation Date, Export Date are sorted incorrectly - not by time but alphabetically
Product: Red Hat Enterprise Virtualization Manager Reporter: Tal Nisan <tnisan>
Component: ovirt-engineAssignee: Tal Nisan <tnisan>
Status: CLOSED NEXTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.0.3CC: amureini, bugs, gklein, jbelka, lsurette, pstehlik, ratamir, rbalakri, Rhev-m-bugs, srevivo, tnisan, ykaul, ylavi
Target Milestone: ovirt-4.0.7   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1398579 Environment:
Last Closed: 2017-02-23 12:55:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1398579    
Bug Blocks:    
Attachments:
Description Flags
screen shot none

Description Tal Nisan 2017-01-25 10:44:04 UTC
+++ This bug was initially created as a clone of Bug #1398579 +++

Description of problem:

Creation Date, Export Date are sorted incorrectly - not by time but alphabetically. This causes sorted list to be useless, eg:

V Creation Date:

- Sep 11, 2013 2:59:46 PM
- ...
- Oct 20, 2011 3:26:15 PM
- ...
- May 25, 2016 1:57:33 PM

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-4.0.5.5-0.1.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. do to a export domain
2. go to VM Import subtab
3. check Creation|Export Data sorting

Actual results:
logical time is sorted alphabetically

Expected results:
should be sorted by time

Additional info:
check how Time column is sorted in Events tabs, there it looks OK

--- Additional comment from Sandro Bonazzola on 2017-01-25 09:55:50 IST ---

4.0.6 has been the last oVirt 4.0 release, please re-target this bug.

Comment 1 Kevin Alon Goldblatt 2017-02-16 15:31:29 UTC
Tested with the following code:
----------------------------------------
ovirt-engine-4.0.7-0.1.el7ev.noarch
rhevm-4.0.7-0.1.el7ev.noarch
vdsm-4.18.22-1.el7ev.x86_64

Tested the following scenario:
----------------------------------------
Created several Vm's with at different times and with different names
Checked the sorting the the Export domain -> Import VM tab >>>> The vms are sorted alphabetically and not by date



See attached screen shot

Moving to ASSIGNED

Comment 2 Kevin Alon Goldblatt 2017-02-16 15:32:41 UTC
Created attachment 1250894 [details]
screen shot

Attached screen shot