Password last-changed date displayed as epoch-1

Bug #65764 reported by Rocco Stanzione
2
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Fix Released
Undecided
Sebastian Kügler

Bug Description

Create a new user. Before setting the password, the last-changed field displays 12/31/1969 (probably varies depending on locale etc.). Set the password, and the date does not change. Save the user and it does not change. Log in as the user and change the password immediately (as required) and it still doesn't change. Close and restart systemsettings, and there is finally a new value there. Mostly, though, I just think the epoch-1 date should be displayed as something like N/A.

Revision history for this message
Rocco Stanzione (trappist) wrote :

It looks like what I'm asking for is pretty close to the intended behavior, from userconfig.py:

        if self.userobj.getLastPasswordChange()is None:
            self.lastchangelabel.setText('-');

Notice the lack of a space between "()" and "is", which looks like a typo. If that's not the problem, it's probably one of the FIXME's in unixauthdb.py, or a disconnect between "None" (the string) in unixauthdb.py and None as it appears above.

Revision history for this message
Sebastian Kügler (sebasje) wrote :

Fixed in svn, thanks for the report!

Changed in kde-guidance:
assignee: nobody → sebas-kde
status: Unconfirmed → Fix Committed
Revision history for this message
Luka Renko (lure) wrote :

Released for Feisty

Changed in kde-guidance:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.