Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311242 Details for
Bug 450802
Hwcert catalog's postdate cron job should run more than once a day to support setting "today" as the post date.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch Fix:
post.patch (text/plain), 1.71 KB, created by
XINSUN
on 2008-07-08 09:19:55 UTC
(
hide
)
Description:
Patch Fix:
Filename:
MIME Type:
Creator:
XINSUN
Created:
2008-07-08 09:19:55 UTC
Size:
1.71 KB
patch
obsolete
>Index: process.cgi >=================================================================== >RCS file: /cvs/qa/hwcert/process.cgi,v >retrieving revision 1.29 >diff -u -r1.29 process.cgi >--- process.cgi 14 May 2008 05:18:33 -0000 1.29 >+++ process.cgi 8 Jul 2008 09:12:05 -0000 >@@ -156,9 +156,9 @@ > if (!defined($date)) { > ThrowUserError("illegal_date", { date => $new_postdate }); > } >- #Validate if the PostDate is the past date. >+ #Validate if the PostDate is the past date or today. > trick_taint($new_postdate); >- SendSQL("SELECT (TO_DAYS('$new_postdate') < TO_DAYS(NOW()))"); >+ SendSQL("SELECT (TO_DAYS('$new_postdate') <= TO_DAYS(NOW()))"); > my $ispast_date = FetchOneColumn(); > if ($ispast_date == 1 ) { > ThrowUserError("date_already_past", { date => $new_postdate }); >Index: template/en/default/global/user-error.html.tmpl >=================================================================== >RCS file: /cvs/qa/hwcert/template/en/default/global/user-error.html.tmpl,v >retrieving revision 1.14 >diff -u -r1.14 user-error.html.tmpl >--- template/en/default/global/user-error.html.tmpl 19 Jun 2008 14:21:59 -0000 1.14 >+++ template/en/default/global/user-error.html.tmpl 8 Jul 2008 09:12:05 -0000 >@@ -158,7 +158,7 @@ > > [% ELSIF error == "date_already_past" %] > [% title = "Date already past" %] >- The posting date: '<tt>[% date FILTER html %]</tt>' is in the past. Please set a posting date >+ The posting date: '<tt>[% date FILTER html %]</tt>' is in the past (include today). Please set a posting date > in the future. > > [% ELSIF error == "dependency_loop_single" %]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 450802
:
311242
|
312158