#6044 ipa-advise: object of type 'type' has no len()
Closed: Fixed Opened 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:

Regression caused by 0d62968b6f853246d38b06e8378cb9cae7f9bbb4

master:

  • c1d8629b7490f443eededf0c0d0472d8285f85e8 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

master:

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

ipa-4-9:

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

ipa-4-10:

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