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
hansegucker commented 2022-12-03 21:25:23 +01:00 (Migrated from edugit.org)

Closes #196

Closes #196
hansegucker commented 2022-12-03 21:25:24 +01:00 (Migrated from edugit.org)

assigned to @nik

assigned to @nik
hansegucker commented 2022-12-03 21:33:50 +01:00 (Migrated from edugit.org)

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)
hansegucker commented 2022-12-03 21:36:17 +01:00 (Migrated from edugit.org)

marked this merge request as ready

marked this merge request as **ready**
nik commented 2022-12-09 12:44:25 +01:00 (Migrated from edugit.org)

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.
nik commented 2022-12-09 12:45:10 +01:00 (Migrated from edugit.org)

Please explain in which scenarios it failed.

Please explain in which scenarios it failed.
hansegucker commented 2022-12-09 12:56:56 +01:00 (Migrated from edugit.org)

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

Eh, that's just a copy-and-paste typo.
hansegucker commented 2022-12-09 13:05:37 +01:00 (Migrated from edugit.org)

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)
hansegucker commented 2022-12-09 13:05:38 +01:00 (Migrated from edugit.org)

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)
nik commented 2022-12-12 17:56:58 +01:00 (Migrated from edugit.org)

resolved all threads

resolved all threads
nik (Migrated from edugit.org) merged commit 164bb66ba1 into master 2022-12-12 17:57:26 +01:00
nik commented 2022-12-12 17:57:27 +01:00 (Migrated from edugit.org)

mentioned in commit 164bb66ba1

mentioned in commit 164bb66ba10ada7ba767a973a30d1a9871b0654b
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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.