Trellis Learning Management System


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000071 [Trellis] Certificates minor always 2008-07-24 15:23 2008-08-20 09:15
Reporter shaddy View Status public  
Assigned To shaddy
Priority normal Resolution fixed  
Status resolution released   Product Version 0.5.0
Summary 0000071: certificate expiration date is not set when expiration_date is not set even though years_valid has a value
Description a user earned a certificate but an expiration date was not set even though it had a value of 5 years for valid_years. if an expiration_date is set for the certificate, then it will properly set the earned cert's expiration date.
Additional Information this is caused because the expiration date is determined with a min function, but if an expiration_date is not set for the cert, it will be the minimum date and therefore never expire.
Tags No tags attached.
Error Code
URI
Attached Files

- Relationships

-  Notes
User avatar (0000143)
shaddy (reporter)
2008-07-24 17:10

this included resolution for this issue:
----
only use min expiration date when awarding certs if both are not 0000-00-00 00:00:00
get_users_certificates counts zeroed dates as valid like get_certificates


Repository: trellis-dev, Revision: 8204, Committer: shaddy
User avatar (0000154)
shaddy (reporter)
2008-07-25 14:02

if years_valid is 0 and expiration date is not set, expiration date is set to NOW
User avatar (0000155)
vcs (reporter)
2008-07-25 14:07

issue#71
only use years_valid_date if years_valid is not 0


Repository: trellis-dev, Revision: 8211, Committer: shaddy
User avatar (0000156)
vcs (reporter)
2008-07-25 14:12

issue#71
fixed logic for cert expiration


Repository: trellis-dev, Revision: 8212, Committer: shaddy
User avatar (0000157)
vcs (reporter)
2008-07-25 14:16

issue#71
convert decimal string to floating point number before conditional


Repository: trellis-dev, Revision: 8213, Committer: shaddy
User avatar (0000158)
vcs (reporter)
2008-07-25 14:19

issue#71 resolved
fixed expiration date logic for certificates


Repository: trellis, Revision: 13, Committer: shaddy

- Issue History
Date Modified Username Field Change
2008-07-24 15:23 shaddy New Issue
2008-07-24 15:23 shaddy Status new => assigned
2008-07-24 15:23 shaddy Assigned To => shaddy
2008-07-24 17:10 shaddy Note Added: 0000143
2008-07-24 17:10 shaddy Status assigned => resolution committed
2008-07-24 17:10 shaddy Fixed in Version => 0.5.1
2008-07-24 17:10 shaddy Resolution open => fixed
2008-07-25 14:02 shaddy Note Added: 0000154
2008-07-25 14:02 shaddy Status resolution committed => confirmed
2008-07-25 14:02 shaddy Resolution fixed => reopened
2008-07-25 14:07 vcs Checkin
2008-07-25 14:07 vcs Note Added: 0000155
2008-07-25 14:12 vcs Checkin
2008-07-25 14:12 vcs Note Added: 0000156
2008-07-25 14:16 vcs Checkin
2008-07-25 14:16 vcs Note Added: 0000157
2008-07-25 14:19 vcs Checkin
2008-07-25 14:19 vcs Note Added: 0000158
2008-07-25 14:19 shaddy Status confirmed => assigned
2008-07-25 14:19 shaddy Status assigned => resolution committed
2008-07-25 14:19 shaddy Resolution reopened => fixed
2008-07-25 14:20 shaddy Projection none => tweak
2008-07-25 14:20 shaddy ETA none => 2-3 days
2008-08-20 09:15 shaddy Status resolution committed => resolution released



Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker