Topic: After Upgrade to iRedAdmin-Pro-MySQL 1.9.1 user detail give error
When edit user details server respond "Internal Server error"
==== Required information ====
- iRedMail version: iRedAdmin-Pro-MySQL 1.9.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS release 6.4 (Final)
- Related log if you're reporting an issue:
====
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116] File "/var/www/iredadmin/libs/../templates/default/layout.html", line 167, in top-level template code
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116] {% block main %}{% endblock %}
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116] File "/var/www/iredadmin/libs/../templates/default/mysql/user/profile.html", line 164, in block "main"
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116] {{ display_all_domains(managedDomains=managed_domains,
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116] File "/var/www/iredadmin/libs/../templates/default/macros/sql.html", line 8, in template
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116] {% for r in allDomains |sort %}
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116] File "/usr/lib64/python2.6/site-packages/jinja2/filters.py", line 556, in do_sort
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116] return sorted(value, reverse=reverse)
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116] TypeError: can't compare datetime.datetime to NoneType
[Fri Jan 23 05:09:34 2015] [error] [client 78.128.105.116]
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.