[GH-ISSUE #173] The "select all" functionality is broken #159

Closed
opened 2026-02-27 11:10:23 +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/173

Originally assigned to: @tonioo on GitHub.

Originally created by Antoine Nguyen on 2011-08-31T11:45:42Z

Just after a click on the "select all" checkbox, a new request is sent to the server which leads to the following error:

[[KeyError]] at /quarantine/listing/

u'toggleselect'

Request Method:     GET
Request URL:    http://modoboa/quarantine/listing/?page=2&order=-toggleselect&gs08kpxt
Django Version:     1.3
Exception Type:     KeyError
Exception Value:    

u'toggleselect'

Exception Location:     /srv/www/modoboa/extensions/amavis_quarantine/sql_listing.py in messages_count, line 55
Python Executable:  /usr/bin/python
Python Version:     2.6.6
Python Path:    

['/srv/www/modoboa',
 '/usr/local/bin',
 '/usr/local/lib/python2.6/dist-packages/sievelib-0.2-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/South-0.7.3-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/django_auth_ldap-1.0.10-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/gunicorn-0.13.1-py2.6.egg',
 '/usr/lib/python2.6',
 '/usr/lib/python2.6/plat-linux2',
 '/usr/lib/python2.6/lib-tk',
 '/usr/lib/python2.6/lib-old',
 '/usr/lib/python2.6/lib-dynload',
 '/usr/local/lib/python2.6/dist-packages',
 '/usr/lib/python2.6/dist-packages',
 '/usr/lib/pymodules/python2.6',
 '/srv/www',
 '/srv/www/modoboa']

Server time:    Wed, 31 Aug 2011 13:42:19 +0200
Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/173 Originally assigned to: @tonioo on GitHub. **Originally created by Antoine Nguyen on 2011-08-31T11:45:42Z** Just after a click on the "select all" checkbox, a new request is sent to the server which leads to the following error: <pre> [[KeyError]] at /quarantine/listing/ u'toggleselect' Request Method: GET Request URL: http://modoboa/quarantine/listing/?page=2&order=-toggleselect&gs08kpxt Django Version: 1.3 Exception Type: KeyError Exception Value: u'toggleselect' Exception Location: /srv/www/modoboa/extensions/amavis_quarantine/sql_listing.py in messages_count, line 55 Python Executable: /usr/bin/python Python Version: 2.6.6 Python Path: ['/srv/www/modoboa', '/usr/local/bin', '/usr/local/lib/python2.6/dist-packages/sievelib-0.2-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/South-0.7.3-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/django_auth_ldap-1.0.10-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/gunicorn-0.13.1-py2.6.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages', '/usr/lib/pymodules/python2.6', '/srv/www', '/srv/www/modoboa'] Server time: Wed, 31 Aug 2011 13:42:19 +0200 </pre>
kerem 2026-02-27 11:10:23 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Posted by Redmine Admin on 2011-08-31T11:46:32Z

In [c203515714cd3dff7cd4ba81c8c271912e18426c]:

#!CommitTicketReference repository="" revision="c203515714cd3dff7cd4ba81c8c271912e18426c"
The "select all" header must not be sortable.
fixed #161
<!-- gh-comment-id:29813944 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Redmine Admin on 2011-08-31T11:46:32Z** In [c203515714cd3dff7cd4ba81c8c271912e18426c]: <pre> #!CommitTicketReference repository="" revision="c203515714cd3dff7cd4ba81c8c271912e18426c" The "select all" header must not be sortable. fixed #161 </pre>
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#159
No description provided.