DISSINET / InkVisitor

An open-source, browser-based front-end application for the collection of complex structured data from textual resources in history and the social sciences into a RethinkDB database for further analysis.
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

Important bug in superclasses #2228

Open davidzbiral opened 1 month ago

davidzbiral commented 1 month ago

Important bug found in superclasses, I never encountered it before. Remains even after page reload. I am editing these two entities: 1, 2, which have SYN relation between them. But for some reason their superclasses seem to be edited by the app, or displayed badly, in such a way that some or all appear twice based on having added them in the other one (the synonym) - as if the app was taking them from the synonym and thus duplicating them. So far, I think, we requested no symmetrization of the SCL of synonyms, only warning that SCL of synonyms is inconsistent. So I do not know what to think about this behaviour, and whether the data structure is not in danger.

Interestingly, over these incorrect duplicates, mouseover shows nothing, while for one set which correctly belongs there, the mouseover works just as always.

obrazek

adammertel commented 1 month ago

Seems that identical relations are returned in this case. Just to make sure - when one of them is removed, are the duplicate removed as well? If yes, there should be no danger and the fix should be quite simple.

davidzbiral commented 1 month ago

@adammertel This morning it was fine, i.e. only 2 SCL were under both particeps and member, and I also tried removing and re-adding under one SCL under one of them, and no misbehaviour was observed under either particeps and member (synonyms). Can it thus be that it was a bug in some slow or misguided communication between app and server?