muccg / rdrf

The Rare Disease Registry Framework (RDRF) is an open source tool for the creation of web-based patient registries.
GNU Affero General Public License v3.0
15 stars 8 forks source link

CIC Lung Proms login error #1270

Closed id2359 closed 4 years ago

id2359 commented 4 years ago

Stack trace on login was admin.

AttributeError at /admin/ 'dict' object has no attribute 'append' Request Method: GET Request URL: https://rdrf.ccgapps.com.au/ciclungproms/admin/ Django Version: 2.1.15 Exception Type: AttributeError Exception Value:
'dict' object has no attribute 'append' Exception Location: /env/lib/python3.7/site-packages/registry/groups/models.py in menu_links, line 235 Python Executable: /env/bin/uwsgi Python Version: 3.7.7 Python Path:
['.', '/app', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/env/lib/python3.7/site-packages'] Server time: Thu, 26 Mar 2020 08:53:47 +0800 Error during template rendering In template /env/lib/python3.7/site-packages/rdrf/templates/rdrf_cdes/base.html, error at line 145

'dict' object has no attribute 'append' 135 {% endblock %} 136 137 {% block formlinks %} 138 {% endblock %} 139 140

153 154 {% if request.user.is_superuser %} 155
gmaloneccg commented 4 years ago

Passed testing for login and navigation, except for #1299.