#51159 Delete ou fails with dsidm
Closed: wontfix by mreynolds. Opened by firstyear.

Issue Description

DEBUG: object of type 'Namespace' has no len()
Traceback (most recent call last):
  File "/usr/sbin/dsidm", line 130, in <module>
    result = args.func(inst, dsrc_inst['basedn'], log, args)
  File "/usr/lib/python3.8/site-packages/lib389/cli_idm/organizationalunit.py", line 44, in delete
    dn = _get_arg( args, msg="Enter dn to delete")
  File "/usr/lib/python3.8/site-packages/lib389/cli_idm/__init__.py", line 14, in _get_arg
    if args is not None and len(args) > 0:
TypeError: object of type 'Namespace' has no len()
ERROR: Error: object of type 'Namespace' has no len()

Running delete ou from dsidm.


https://pagure.io/389-ds-base/pull-request/51160

Metadata Update from @firstyear:
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None

Metadata Update from @mreynolds:
- Issue priority set to: normal
- Issue set to the milestone: 1.4.2

Master: f97a86af2

87ca1963e..66ed2c53a 389-ds-base-1.4.3 -> 389-ds-base-1.4.3

edda8308c..2a2e341dd 389-ds-base-1.4.2 -> 389-ds-base-1.4.2

Metadata Update from @mreynolds:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

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

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)

Metadata