Ticket #1082 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Crash when apply settings

Reported by: jhrozek Owned by: jhrozek
Priority: major Milestone: SSSD 1.7.0
Component: SSSD Version:
Keywords: Cc:
Blocked By: Blocking:
Sensitive: Tests Updated: no
Coverity Bug: Patch Submitted: no
Red Hat Bugzilla: 752495 Design link:
Feature Milestone:
Design review: Fedora test page:
Chosen: Candidate to push out:
Release Notes:
Temp mark:

Description (last modified by dpal) (diff)


Description of problem:

Whenever I click on the apply button, the dialog crashes, my settings are not

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. system-config-gtk
2. set some parameters, such as an LDAP configuration
3. click apply

Actual results:

[root@briemersw sssd]# system-config-authentication
Traceback (most recent call last):
  File "/usr/sbin/system-config-authentication", line 701, in <module>
  File "/usr/sbin/system-config-authentication", line 650, in apply
  File "/usr/share/authconfig/authinfo.py", line 3632, in writeChanged
    ret = ret and group.saveFunction()
  File "/usr/share/authconfig/authinfo.py", line 2974, in writeSSSD
  File "/usr/lib/python2.7/site-packages/SSSDConfig.py", line 1765, in
    self.delete_option_subtree(section_subtree, 'option', option['name'], True)
  File "/usr/lib/python2.7/site-packages/ipachangeconf.py", line 559, in
    index, item = self.findOpts(subtree, type, name, exclude_sections)
  File "/usr/lib/python2.7/site-packages/ipachangeconf.py", line 201, in
    if o['type'] == type and o['name'] == name:
TypeError: 'int' object is not subscriptable

Expected results:

savings are applied

Additional info:

Change History

comment:1 Changed 5 years ago by dpal

  • tests set to 0
  • upgrade set to 0
  • Description modified (diff)
  • Tests Updated unset
  • Patch Submitted unset
  • Milestone changed from NEEDS_TRIAGE to SSSD 1.7.0

comment:2 Changed 5 years ago by dpal

  • Owner changed from somebody to jhrozek

comment:3 Changed 5 years ago by jhrozek

  • Status changed from new to closed
  • Resolution set to fixed

comment:4 Changed 5 years ago by mkosek

  • Red Hat Bugzilla set to [https://bugzilla.redhat.com/show_bug.cgi?id=752495 752495]
Note: See TracTickets for help on using tickets.