RCP: 0.8.0, Dialog boxes of Sub-corpus and Partition creation are broken when CQP corpus is not ready
Dialog boxes of Sub-corpus and Partition creation are broken when CQP
corpus is not ready.
Where trying to get some parent corpus properties to fill the widgets,
CQP exceptions are raised when we can’t create sub-corpus or partition.
Solution 1
- use the same solution as in the TXMEditor to manage the parents
branch computation
=>Use the new modal dialog box class /org.txm.rcp/src/main/java/org/txm/rcp/swt/dialog/AdvancedProgressMonitorDialog.java to ensure the parents are computed and to block the UI during the process
Solution 2
- move all sub-corpus and partition creation code to some TXMEditor to benefit of the already managed parents branch computation.
Validation tests
WIP SJ:
- purpose here is to test on large corpora that contains not computed partitions or corpus that the commands to create a partition and sub-corpus when called on a sub-corpus hierarchy works as expected
(from redmine: issue id 2745, created on 2020/01/28 by Sebastien Jacquot)
- Relations:
- Changesets:
- Revision 2567 by Sebastien Jacquot on 2020/01/29 09:51:58 +0100:
Fixes: Dialog boxes of Sub-corpus and Partition creation are broken when CQP corpus is not ready (refs #2745)
Progresses on: Editor results computing executed with not computed parents branch or too long process may lead to display wrong data in editor (refs #2682)