[GH-ISSUE #394] A domain admin cannot see domain properties #377

Closed
opened 2026-02-27 11:11:28 +03:00 by kerem · 1 comment
Owner

Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/394

Originally assigned to: @tonioo on GitHub.

Originally created by Antoine Nguyen on 2013-04-23T19:09:47Z

A domain administrator must be able to see other domain administrators and statistics of the domains he manages. (by clicking on a domain name)

Extensions (for example: amavis) can register new forms that will appear into the modal box. If no such extension is activated, the following error is encountered:

Traceback (most recent call last):
  File "/home/anguyen/pyenvs/modoboa/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/home/anguyen/pyenvs/modoboa/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 25, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/anguyen/pyenvs/modoboa/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 25, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/anguyen/projets/perso/modoboa/modoboa/admin/views.py", line 135, in editdomain
    commonctx["tabs"] = DomainForm(request.user, instances=instances)
  File "/home/anguyen/projets/perso/modoboa/modoboa/admin/forms.py", line 129, in __init__
    super(DomainForm, self).__init__(*args, **kwargs)
  File "/home/anguyen/projets/perso/modoboa/modoboa/lib/formutils.py", line 103, in __init__
    self.active_id = self.forms[0]["id"]
IndexError: list index out of range
Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/394 Originally assigned to: @tonioo on GitHub. **Originally created by Antoine Nguyen on 2013-04-23T19:09:47Z** A domain administrator must be able to see other domain administrators and statistics of the domains he manages. (by clicking on a domain name) Extensions (for example: amavis) can register new forms that will appear into the modal box. If no such extension is activated, the following error is encountered: <pre> Traceback (most recent call last): File "/home/anguyen/pyenvs/modoboa/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/home/anguyen/pyenvs/modoboa/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 25, in _wrapped_view return view_func(request, *args, **kwargs) File "/home/anguyen/pyenvs/modoboa/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 25, in _wrapped_view return view_func(request, *args, **kwargs) File "/home/anguyen/projets/perso/modoboa/modoboa/admin/views.py", line 135, in editdomain commonctx["tabs"] = DomainForm(request.user, instances=instances) File "/home/anguyen/projets/perso/modoboa/modoboa/admin/forms.py", line 129, in __init__ super(DomainForm, self).__init__(*args, **kwargs) File "/home/anguyen/projets/perso/modoboa/modoboa/lib/formutils.py", line 103, in __init__ self.active_id = self.forms[0]["id"] IndexError: list index out of range </pre>
kerem 2026-02-27 11:11:28 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Antoine Nguyen on 2013-04-23T20:36:10Z

Applied in changeset commit:66d684ed7e1d0aed797138b2ed1d55842a2c430e.

<!-- gh-comment-id:29816254 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2013-04-23T20:36:10Z** Applied in changeset commit:66d684ed7e1d0aed797138b2ed1d55842a2c430e.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#377
No description provided.