From 40b6ad21e145be487f7337d277f7ccf6891921e4 Mon Sep 17 00:00:00 2001
From: Emmanuel Viennet <emmanuel.viennet@gmail.com>
Date: Fri, 2 Dec 2022 11:59:25 +0100
Subject: [PATCH] Fix: bug rare si cache modimpl_results non en accord avec
 modimpl.evaluations

---
 app/but/bulletin_but.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/but/bulletin_but.py b/app/but/bulletin_but.py
index c9c4c00fe..f21e8ff62 100644
--- a/app/but/bulletin_but.py
+++ b/app/but/bulletin_but.py
@@ -242,6 +242,7 @@ class BulletinBUT:
                         self.etud_eval_results(etud, e)
                         for e in modimpl.evaluations
                         if (e.visibulletin or version == "long")
+                        and (e.id in modimpl_results.evaluations_etat)
                         and (
                             modimpl_results.evaluations_etat[e.id].is_complete
                             or self.prefs["bul_show_all_evals"]
-- 
GitLab