Resolve "AttributeError: 'NoneType' object has no attribute 'period'" #590

Merged
hansegucker merged 1 commit from 196-attributeerror-nonetype-object-has-no-attribute-period into master 2022-12-12 17:57:26 +01:00
Owner

Closes #196

Closes #196
Author
Owner

assigned to @nik

assigned to @nik
Author
Owner

added 1 commit

  • dcc4f266 - Get period min/max for events from the event's school term and not from the current

Compare with previous version

added 1 commit <ul><li>dcc4f266 - Get period min/max for events from the event&#39;s school term and not from the current</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/286/diffs?diff_id=25800&start_sha=1999f0f92365100af5cec425fb6926c0e6ee1089)
Author
Owner

marked this merge request as ready

marked this merge request as **ready**
Owner

Why do you use cache_memoize here?

That looks like it will cause all sorts of issues, especially since there is no way to invalidate the LRU cache for this function.

Why do you use `cache_memoize` here? That looks like it will cause all sorts of issues, especially since there is no way to invalidate the LRU cache for this function.
Owner

Please explain in which scenarios it failed.

Please explain in which scenarios it failed.
Author
Owner

Eh, that's just a copy-and-paste typo.

Eh, that's just a copy-and-paste typo.
Author
Owner

changed this line in version 2 of the diff

changed this line in [version 2 of the diff](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/286/diffs?diff_id=25860&start_sha=dcc4f266f6ab0c3cea50615003c49affdb72708e#aff889560e418df674a6887a541974fc95f8cd36_1102_1102)
Author
Owner

added 1 commit

  • 36add025 - Get period min/max for events from the event's school term and not from the current

Compare with previous version

added 1 commit <ul><li>36add025 - Get period min/max for events from the event&#39;s school term and not from the current</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/286/diffs?diff_id=25860&start_sha=dcc4f266f6ab0c3cea50615003c49affdb72708e)
Owner

resolved all threads

resolved all threads
nik merged commit 164bb66ba1 into master 2022-12-12 17:57:26 +01:00
Owner

mentioned in commit 164bb66ba1

mentioned in commit 164bb66ba10ada7ba767a973a30d1a9871b0654b
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
aleksis/AlekSIS-App-Chronos!590
No description provided.