it25gmbh / plucs

PLUCS is a Jabber/XMPP integration for Univention Corporate Server based on ejabberd
2 stars 2 forks source link

Listener crash when group is empty #18

Closed it25fg closed 8 years ago

it25fg commented 8 years ago

When an xmpp-enabled group turns out to have no xmpp-enabled users the following traceback appears:

Traceback (most recent call last): File "/usr/lib/univention-directory-listener/system/plucs-groups.py", line 134, in handler _write_groups_config() File "/usr/lib/univention-directory-listener/system/plucs-groups.py", line 197, in _write_groups_config for u in _cache['groups'][g]:

it25fg commented 8 years ago

Listener should handle this condition as it can be normal if: