biosemantics / etc-site-archived-do-not-use

Source code for the ETC Toolkit web application
http://etc.cs.umb.edu/etcsite/
1 stars 0 forks source link

[Ontology Building]Prompt 'out of sync' when add synonym pattern #615

Closed CathyYujie closed 7 years ago

CathyYujie commented 7 years ago

image

image

image and the synonym relation between "strong armed" and "strong-armed" will disappear after refresh the page

CathyYujie commented 7 years ago

When choose two same options at one time and click ok, it will still give the prompt 'out of sync' and this relation will be added into system successfully. image

If you choose one of them, it goes well.

Advice: Just keep one option for this relation in the pattern window. It is a bit hard to understand why there are two options for recommending the same relation in the pattern pop-up window. Meanwhile, it will not raise the wrong prompt.


tips: I have refreshed my browser before test.

danveno commented 7 years ago

Through multiple attempts, I tried to find the reason why it gives "out of sync" alerts. First, it looks like that it's not an error but an alert. But the console does report some errors saying some term is not attached to the Synonym-root. It seems that the problem is about synonym patterns. If the preferred term is not added first, the error will come. In GWT client, the preferred term has been checked and added if not existed. But I guess adding preferred term in server is not always ahead of adding synonyms due to network problem and Javascript runtime environment.