#50446 *** NameError: name 'ds_is_older' is not defined
Closed: wontfix 4 years ago by spichugi. Opened 4 years ago by aborah.

Issue Description:

from lib389.utils import (ds_is_older) is missing in

https://pagure.io/389-ds-base/blob/master/f/src/lib389/lib389/idm/account.py

users = UserAccounts(standalone, DEFAULT_SUFFIX)
for i in users.list(): i.dn
'uid=testuser,ou=People,dc=example,dc=com'
'uid=test_user_1000,ou=People,dc=example,dc=com'
'uid=test_user1,ou=People,dc=example,dc=com'

UserAccount(standalone,'uid=test_user1,ou=People,dc=example,dc=com').enroll_certificate('/etc/dirsrv/slapd-standalone1/user-test_user1.der')
*** NameError: name 'ds_is_older' is not defined


Check this file; src/lib389/lib389/utils.py:1074:def ds_is_older(*ver):

Metadata Update from @firstyear:
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None
- Issue close_status updated to: invalid
- Issue status updated to: Closed (was: Open)

4 years ago

In the future, please simply use 'grep' to search the ccode base for functions ....

@firstyear I find this issue to be valid. Would you elaborate on why it should be not so?

@mhonek Apparently I can read english at this time of day, and I thought the issue was he was saying the function didn't exist. My mistake :( :( :(

Metadata Update from @mhonek:
- Issue status updated to: Open (was: Closed)

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/3504

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests