bug #10411
closedShow subareas of area trees in area selection dialogue for distribution editor
100%
Description
For area trees the subareas are not shown. This was observed in Flora of Georgia:
For vocabularies subareas are shown.
Files
Updated by Andreas Müller 11 months ago
Please also check if the tree order is taken from the term tree in case of selecting areas from the tree and having "natural order" selected. However, implementing this might be not so easy so probably we will need to create a new ticket for this.
Updated by Andreas Müller 11 months ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
I think this is already in progress.
Updated by Katja Luther 11 months ago
- Status changed from In Progress to Resolved
- Assignee changed from Katja Luther to Andreas Müller
- % Done changed from 10 to 50
This is implemented. If a term is checked, which is also available in a tree, this node is checked as well and the other way round. Also for the buttons "select all children" and "select the subtree" it is implemented. Please review.
Updated by Andreas Müller 11 months ago
- Status changed from Resolved to Feedback
- % Done changed from 50 to 70
In most cases it works as expected. But loading the subareas does not work correctl. If I seclect e.g. Georgia and a subarea and e.g Caucasus and save. When reopening and removing Caucasus without opening the Georgia subtree the Georgian subarea after saving disappears from table. In case I open the subtree before saving second time it works as expected.
Updated by Andreas Müller 11 months ago
- Assignee changed from Andreas Müller to Katja Luther
Updated by Katja Luther 11 months ago
- Status changed from Feedback to Resolved
- Assignee changed from Katja Luther to Andreas Müller
Andreas Müller wrote in #note-4:
In most cases it works as expected. But loading the subareas does not work correctl. If I seclect e.g. Georgia and a subarea and e.g Caucasus and save. When reopening and removing Caucasus without opening the Georgia subtree the Georgian subarea after saving disappears from table. In case I open the subtree before saving second time it works as expected.
The setCheckedElements for the viewer seems to quit the not visible elements therefore now the array of checked elements of the composite is used.
Please review.
Updated by Andreas Müller 11 months ago
- File clipboard-202310271048-p1lch.png clipboard-202310271048-p1lch.png added
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
Now when pressing the finish button a warning is shown "please check at least one item". Though these are checked - but not visible.
Updated by Katja Luther 11 months ago
- Status changed from Feedback to In Progress
Andreas Müller wrote in #note-7:
Now when pressing the finish button a warning is shown "please check at least one item". Though these are checked - but not visible.
Ah, this is again because the treeViewer only knows about the visible checked elements... I adapted that.
Updated by Katja Luther 11 months ago
- Status changed from In Progress to Resolved
- Assignee changed from Katja Luther to Andreas Müller
And the size is adapted, too. Please review.
Updated by Andreas Müller 11 months ago
- Status changed from Resolved to Closed
- Assignee changed from Andreas Müller to Katja Luther
- % Done changed from 70 to 100
Now it works as expected.