#48239 lib389 doesn't set prefix attribute which causes un-initialised dirsrv instance list to fail
Closed: wontfix None Opened 8 years ago by firstyear.

I would like to be able to carry out the following pattern:

from lib389 import DirSrv
ds = DirSrv
insts = ds.list(all=True)

Work on instance list.

However, because the allocate() function wasn't called, this causes a traceback due to self.prefix not being set.

This patch allocates a default prefix of '/' or from os.env, and still allows this to be updated within the allocate() function correctly.


Your email address is still wrong:

{{{
From: William Brown wililam@adelaide.edu.au
}}}

I will fix this though.

To ssh://git.fedorahosted.org/git/389/lib389.git
95c0640..2bda803 master -> master
commit 2bda803fbb2d3139cb98aca4e9ced7c9e0488654
Date: Thu Aug 6 07:50:07 2015 -0400

Yep. I wrote the patch while on a flight today, before I got your email about the email address. It's correct now in patches since then.

Milestone lib389 1.0 deleted

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/1570

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