Ticket #1082 (closed defect: fixed)

Opened 2 years ago

Last modified 2 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:
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:

Description (last modified by dpal) (diff)

https://bugzilla.redhat.com/show_bug.cgi?id=752495

Description of problem:

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


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

authconfig-gtk-6.1.16-1.fc16.x86_64

How reproducible:

100%

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>
    module.apply()
  File "/usr/sbin/system-config-authentication", line 650, in apply
    self.info.writeChanged(self.pristineinfo)
  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
    self.sssdConfig.save_domain(domain)
  File "/usr/lib/python2.7/site-packages/SSSDConfig.py", line 1765, in
save_domain
    self.delete_option_subtree(section_subtree, 'option', option['name'], True)
  File "/usr/lib/python2.7/site-packages/ipachangeconf.py", line 559, in
delete_option_subtree
    index, item = self.findOpts(subtree, type, name, exclude_sections)
  File "/usr/lib/python2.7/site-packages/ipachangeconf.py", line 201, in
findOpts
    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 2 years ago by dpal

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

comment:2 Changed 2 years ago by dpal

  • Owner changed from somebody to jhrozek

comment:3 Changed 2 years ago by jhrozek

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

comment:4 Changed 2 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.