#6044 ipa-advise: object of type 'type' has no len()
Closed: Fixed None Opened 7 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1353899

Description of problem: ipa-advise without any advise displays 'object of type
'type' has no len()'

Version-Release number of selected component (if applicable):
ipa-server-4.4.0-1.el7.x86_64

How reproducible:Always


Steps to Reproduce:
1. Install ipa-server
2. run ipa-advise command

Actual results:
[root@server ~]# ipa-advise
----------------------------------------------------------------------
List of available advices
----------------------------------------------------------------------
object of type 'type' has no len()
The ipa-advise command failed.

Expected results:
Although there are no advisories for customers right now for this release the
command should display proper message instead of displaying that the command
failed.

Additional info:

master:

  • c1d8629 ipa-advise: correct handling of plugin namespace iteration

Metadata Update from @pvoborni:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.4.1

6 years ago

master:

  • 35c36f9 ipatests: Test ipa-advise is not failing with error.

ipa-4-9:

  • b2f197d ipatests: Test ipa-advise is not failing with error.

ipa-4-10:

  • 983a651 ipatests: Test ipa-advise is not failing with error.

Login to comment on this ticket.

Metadata