Bug 1048787

Summary: [Admin Portal] Events : time = $day works oddly (Sunday missing in offer, Thursday != Thusday)
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-webadmin-portalAssignee: Nobody <nobody>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, ecohen, emesika, iheim, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 15:29:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Jiri Belka 2014-01-06 10:47:45 UTC
Created attachment 846015 [details]
engine.log

Description of problem:

* Events : time = 

  there's missing 'Sunday' in offered list

* Events : time = /all days except today or Sunday/

  shows all events independently of date in Time column

Version-Release number of selected component (if applicable):
is30 rhevm-3.3.0-0.43.el6ev.noarch (seen also in rhevm-3.2.5-0.49.el6ev.noarch)

How reproducible:
100%

Steps to Reproduce:
1. Events : time = $not_today_day
2. Events : time =
3.

Actual results:
1. shows events list even for today events
2. does not show Sunday

Expected results:
1. not include events from different day (thus today's ones)
2. show Sunday (it is still weekend for us, hehe)

Additional info:
See below! 
2014-01-06 11:26:35,033 WARN  [org.ovirt.engine.core.bll.SearchQuery] (ajp-/127.0.0.1:8702-6) ResourceManager::searchBusinessObjects - erroneous search text - Events: time = Thusday
2014-01-06 11:26:40,019 WARN  [org.ovirt.engine.core.bll.SearchQuery] (ajp-/127.0.0.1:8702-14) ResourceManager::searchBusinessObjects - erroneous search text - Events: time = Thusday
2014-01-06 11:26:45,038 WARN  [org.ovirt.engine.core.bll.SearchQuery] (ajp-/127.0.0.1:8702-12) ResourceManager::searchBusinessObjects - erroneous search text - Events: time = Thusday
2014-01-06 11:26:50,019 WARN  [org.ovirt.engine.core.bll.SearchQuery] (ajp-/127.0.0.1:8702-10) ResourceManager::searchBusinessObjects - erroneous search text - Events: time = Thusday
2014-01-06 11:26:55,029 WARN  [org.ovirt.engine.core.bll.SearchQuery] (ajp-/127.0.0.1:8702-11) ResourceManager::searchBusinessObjects - erroneous search text - Events: time = Thusday

Comment 1 Eli Mesika 2014-01-06 15:29:38 UTC
(In reply to Jiri Belka from comment #0)
Mechanism shows always today, yesterday + the other 5 days according to the current day.

All other issues were solved in  BZ 1025295

If that is a candidate for 3.3 , the refrenced BZ can be opened and added the 3.3.z flag , currently this was planned only for 3.4

*** This bug has been marked as a duplicate of bug 1025295 ***