Bug 536573 (RHQ-909) - disallow operations to be scheduled in the past
Summary: disallow operations to be scheduled in the past
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-909
Product: RHQ Project
Classification: Other
Component: Operations
Version: 1.1pre
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Joseph Marques
QA Contact: Corey Welton
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-29 13:37 UTC by Joseph Marques
Modified: 2008-12-18 15:03 UTC (History)
0 users

Fixed In Version: 1.2
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
customer case 225026
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Joseph Marques 2008-09-29 13:37:00 UTC
today, when you schedule an operation with a date/time in the past, it will work...but it will executed it immediately.  this is a "feature" of quartz, which is used to do the underlying task scheduling.

this is rather dangerous as users wouldn't naturally attempt to do this, i.e. they might have meant to schedule it on a different day but chose something in the past by accident.  instead of failing gracefully and telling them to pick a date in the future we instead happily execute the operation immediately.  schedule operations in the past should be disallowed.

Comment 1 Joseph Marques 2008-12-14 23:41:50 UTC
rev2378 - disallow operations to be scheduled in the past; 

Comment 2 Corey Welton 2008-12-18 15:03:17 UTC
QA Verified - attempting to schedule an event for the past results in an error message.


Comment 3 Red Hat Bugzilla 2009-11-10 21:19:24 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-909



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