Bug #2819
Mis à jour par Serge Heiden il y a plus de 5 ans
When a corpus is removed, removed the associated knowledge repository (KR) is not removed. If the corpus is re-imported, then the old KR is used instead of a fresh new empty KR. used.
h3. Solution
Catch the CQP "Corpus delete" 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 visible after restarting TXM.
The corpus update process raises raise a "CQP corpus delete" event delete event" -> the KRs database must should check if is the corpus is being updated, if true yes the KR must not won't be deleted. delete
h3. Solution
Catch the CQP "Corpus delete" 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 visible after restarting TXM.
The corpus update process raises raise a "CQP corpus delete" event delete event" -> the KRs database must should check if is the corpus is being updated, if true yes the KR must not won't be deleted. delete