datagov-cz / termit-ui

UI for TermIt SKOS Manager. Tento repozitář je udržován v rámci projektu OPZ č. CZ.03.4.74/0.0/0.0/15_025/0013983.
GNU General Public License v3.0
0 stars 0 forks source link

Parent term selector is unable to handle ancestor cycles #112

Closed ledsoft closed 3 years ago

ledsoft commented 3 years ago

When terms loaded by parent term selector contain an ancestor cycle (e.g., A.parentTerms = [B], B.parentTerms=[C], C.parentTerms=[A]), the component fails with an endless loop when processing the terms.

ledsoft commented 3 years ago

Note that this concerns the upstream TermIt as well, but it seems more critical here.

Also note that stopping the processing on TermIt side does not help, because in that case the loop just moves into the tree-component, so the problems needs a more comprehensive handling.