Bug #2819
Mis à jour par Matthieu Decorde il y a plus de 5 ans
When a corpus is removed the associated knowledge repository is not removed. If the corpus is re-imported, then the old KR is used.
h3. Solution
Catch the CQP corpus delete event and remove the corpus KR from the KRs database.
In both TXM 0.8.0 and TXM 0.8.1beta, the KR is removed but changes are visible only after restarting TXM.
The corpus update process raise a "CQP corpus delete event" -> the KRs database should check is the corpus is being updated, if yes the KR won't be delete
h3. Solution
Catch the CQP corpus delete event and remove the corpus KR from the KRs database.
In both TXM 0.8.0 and TXM 0.8.1beta, the KR is removed but changes are visible only after restarting TXM.
The corpus update process raise a "CQP corpus delete event" -> the KRs database should check is the corpus is being updated, if yes the KR won't be delete