RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 744205 - [ipa webui] Config - User search fields - if blank, throws error - an internal error has occurred
Summary: [ipa webui] Config - User search fields - if blank, throws error - an interna...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 745575 756082
TreeView+ depends on / blocked
 
Reported: 2011-10-07 13:29 UTC by Namita Soman
Modified: 2013-05-22 18:49 UTC (History)
3 users (show)

Fixed In Version: ipa-2.2.0-1.el6
Doc Type: Bug Fix
Doc Text:
No documentation needed.
Clone Of:
: 745575 (view as bug list)
Environment:
Last Closed: 2012-06-20 13:14:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0819 0 normal SHIPPED_LIVE ipa bug fix and enhancement update 2012-06-19 20:34:17 UTC

Description Namita Soman 2011-10-07 13:29:16 UTC
Description of problem:
Config - User search fields - if blank, throws error - an internal error has occurred


Version-Release number of selected component (if applicable):
ipa-server-2.1.1-101.20111004T0103zgita013597.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. In Configuration page, set User search fields to blank
2. Click Update

  
Actual results:
throws error:
an internal error has occurred
with traceback in https error.log

Expected results:
a more user friendly error message

Additional info:

trace back in the /var/log/httpd/errors_log:

[Fri Oct 07 08:52:24 2011] [error] AttributeError: 'NoneType' object has no attribute 'split'
[Fri Oct 07 08:52:24 2011] [error] ipa: INFO: admin@TESTRELM: config_mod(ipausersearchfields=[], rights=True, all=True): AttributeError
[Fri Oct 07 08:53:43 2011] [error] ipa: ERROR: non-public: AttributeError: 'NoneType' object has no attribute 'split'
[Fri Oct 07 08:53:43 2011] [error] Traceback (most recent call last):
[Fri Oct 07 08:53:43 2011] [error]   File "/usr/lib/python2.6/site-packages/ipaserver/rpcserver.py", line 223, in wsgi_execute
[Fri Oct 07 08:53:43 2011] [error]     result = self.Command[name](*args, **options)
[Fri Oct 07 08:53:43 2011] [error]   File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 432, in __call__
[Fri Oct 07 08:53:43 2011] [error]     ret = self.run(*args, **options)
[Fri Oct 07 08:53:43 2011] [error]   File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 738, in run
[Fri Oct 07 08:53:43 2011] [error]     return self.execute(*args, **options)
[Fri Oct 07 08:53:43 2011] [error]   File "/usr/lib/python2.6/site-packages/ipalib/plugins/baseldap.py", line 991, in execute
[Fri Oct 07 08:53:43 2011] [error]     ldap, dn, entry_attrs, attrs_list, *keys, **options
[Fri Oct 07 08:53:43 2011] [error]   File "/usr/lib/python2.6/site-packages/ipalib/plugins/config.py", line 208, in pre_callback
[Fri Oct 07 08:53:43 2011] [error]     fields = entry_attrs[k].split(',')
[Fri Oct 07 08:53:43 2011] [error] AttributeError: 'NoneType' object has no attribute 'split'
[Fri Oct 07 08:53:43 2011] [error] ipa: INFO: admin@TESTRELM: config_mod(ipausersearchfields=[], rights=True, all=True): AttributeError

Comment 2 RHEL Program Management 2011-10-07 14:53:48 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 Dmitri Pal 2011-10-07 18:58:06 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/1945

Comment 6 Jenny Severance 2012-04-02 14:10:55 UTC
verified ::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: bz744205 ipa config-mod user search field blank - an internal error has occurred
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Internal Error and traceback bz744205 fixed.
:: [   LOG    ] :: Executing: ipa config-mod --usersearch=
:: [   LOG    ] :: "ipa config-mod --usersearch=" failed as expected.
:: [   PASS   ] :: Error message as expected: ipa: ERROR: 'usersearch' is required
:: [   PASS   ] :: Verify expected error message.
:: [   LOG    ] :: Duration: 4s
:: [   LOG    ] :: Assertions: 3 good, 0 bad
:: [   PASS   ] :: RESULT: bz744205 ipa config-mod user search field blank - an internal error has occurred

version ::
ipa-server-2.2.0-7.el6.x86_64

Comment 8 Martin Kosek 2012-04-26 15:07:55 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed.

Comment 10 errata-xmlrpc 2012-06-20 13:14:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0819.html


Note You need to log in before you can comment on or make changes to this bug.