apluslms / a-plus

A+ frontend portal - A+ LMS documentation:
https://apluslms.github.io/
Other
64 stars 72 forks source link

potential keyerror in news item language #1356

Closed jykesaviaGNH closed 3 months ago

jykesaviaGNH commented 3 months ago

After an update to version 08368758104c3ef03bcb9a992b187d68c2a221da this multiple language news item gave an keyerror: https://github.com/apluslms/a-plus/blame/08368758104c3ef03bcb9a992b187d68c2a221da/news/templatetags/news.py#L35

Database migration was run, but it seems that memcached version without the langauge was still present.

murhum1 commented 3 months ago

You should indeed clear the cache when upgrading to newer versions, so that remnants from the old cache don't cause conflicts. I understood this was resolved by clearing the cache - closing the issue.