Bug 50826 - Possible outdated cache of computer rooms in the exam module
Possible outdated cache of computer rooms in the exam module
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on: 50817
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-13 17:44 CET by Sönke Schwardt-Krummrich
Modified: 2020-02-13 17:44 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2020-02-13 17:44:32 CET
In Bug 50817 a cache for the computer rooms has been added that is invalidated if add_exam_users_to_groups() is called. But if this call does not happen (no "extra" groups for exam users), the cache is never invalidated as long as the UMC process lives.

Possible workaround:
Add a TTL for the cache content and invalidate the cache if the content is older than e.g. 30 seconds. 


+++ This bug was initially created as a clone of Bug #50817 +++

+++ This bug was initially created as a clone of Bug #50588 +++

This bug was separated to only release the caching of computer objects in the exam module