New users not getting an expiration date
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL4 |
Fix Released
|
Medium
|
Carlos de la Guardia |
Bug Description
The cron job generated this traceback last night:
Sent reminder to user 'Balint Attila Horvath'
Traceback (most recent call last):
File "/srv/osfkarl/
sys.
File "/srv/osfkarl/
send_
File "/srv/osfkarl/
if expiration > start and expiration < end:
TypeError: can't compare datetime.datetime to NoneType
I presume that we aren't assigning a password expiration date during GSA creating a user (or some other place when a user gets created.) Perhaps solved with an event subscriber.
Changed in karl4: | |
milestone: | 024 → 025 |
Changed in karl4: | |
milestone: | 025 → 026 |
Changed in karl4: | |
milestone: | 026 → 027 |
Changed in karl4: | |
milestone: | 027 → 028 |
Fixed.