Package version (if known): 6.2.0
Describe the bug
Invenio admin crashes due to a lazy_string.
Steps to Reproduce
- Create a full invenio instance with invenio-admin and invenio-accounts.
- Login with the admin user.
- go to /admin/useridentity/
- An error page occurs.
Here is the exception:
TypeError: sequence item 2: expected str instance, LazyString found
Expected behavior
Screenshots (if applicable)
Additional context
Probably this
|
"user.id": lazy_gettext("User ID"), |
should be changed to:
column_labels = {
"user.email": _("Email"),
"id_user": _("User ID"),
}
Package version (if known): 6.2.0
Describe the bug
Invenio admin crashes due to a lazy_string.
Steps to Reproduce
Here is the exception:
TypeError: sequence item 2: expected str instance, LazyString foundExpected behavior
Screenshots (if applicable)
Additional context
Probably this
invenio-accounts/invenio_accounts/admin.py
Line 163 in 5ec844d