Bug #2745
RCP: 0.8.0, Dialog boxes of Sub-corpus and Partition creation are broken when CQP corpus is not ready
Status: | Feedback | Start date: | 01/24/2020 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | UI | Spent time: | - | ||
Target version: | TXM 0.8.1 |
Description
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
Related issues
Associated revisions
History
#1 Updated by Sebastien Jacquot over 3 years ago
- Description updated (diff)
- Status changed from New to Feedback
- % Done changed from 0 to 80
Solution 1 has been implemented. Need new issue and wiki specs for solution 2.
#2 Updated by Sebastien Jacquot over 3 years ago
New issue for solution 2: #2756.