Ticket #1814 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Misconfiguration of last_login_time default value in members schema.

Reported by: jrosa Assigned to: jrosa
Priority: P2 Milestone: CPS 3.4.4
Component: CPS (global) Version: TRUNK
Severity: normal Keywords: ldap members login
Cc:

Description

This ticket aims to set a default value for the field last_login_time in the definition of the schema members in the default profile.

There is a thread in the mailing lists about this ticket: http://thread.gmane.org/gmane.comp.web.zope.cps.devel/3102

Change History

02/20/07 11:33:06 changed by madarche

I have discussed the matter with Georges Racinet and here is what we advise you :

  • let the default value the field last_login_time in the definition of the schema members in the default profile since it
  • improve logged_in.py to deal with the None value
  • in logged_in.py keep the support for the '2000/01/01' value

This way we increase the meaning in information (None for never logged-in vs dummy date) while preserving compatibility.

Please do commit.

03/16/07 12:14:48 changed by madarche

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from CPS 3.4.5 to CPS 3.4.4.

Fixed by changeset [51386] by improving the logged_in.py script.