Hide Forgot
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
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.
Upstream ticket: https://fedorahosted.org/freeipa/ticket/1945
Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/b68ce0313c9ff31354d2be621079522886f556e3 ipa-2-1: https://fedorahosted.org/freeipa/changeset/452eaf5436bfff90c88d75f23c3f71e5be43eaec
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
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.
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