Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot disassociate second topic type of an instance in Ontopoly #184

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 8 comments
Closed

Comments

@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Mar 16, 2015

What steps will reproduce the problem?
1. Create an instance with two topic types (not exactly sure how I did that, 
but I used only Ontopoly)
2. Now, I want the instance topic to have just one topic type, how do I 
disassociate the instance from the second topic type?


Example instance topics with two types are e.g. "<13;23>" in the attached 
topic map.

Original issue reported on code.google.com by kli...@gmail.com on 7 Jan 2010 at 9:34

Attachments:

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

This is definitely a bug, or at least a missing feature.

Meanwhile, a workaround would be to use the query plug-in and run the following 
statement

  delete direct-instance-of(instance, type)

where "instance" is a reference to the instance topic and "type" a reference to 
the 
unwanted topic type.

Original comment by lar...@gmail.com on 7 Jan 2010 at 9:45

  • Changed state: Accepted
  • Added labels: Component-Ontopoly

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

One can by default only replace the type of a topic. If you would like to add 
or 
remove topic types then you'll have to be in Adminstration mode (which can be 
enabled on the Description page).

Original comment by indiapaleale@gmail.com on 7 Jan 2010 at 10:56

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

So after having enabled the Adminstration mode you'll se another function box 
on the 
right side on the instance edit page that lets you add or remove topic types on 
the 
current topic.

Original comment by indiapaleale@gmail.com on 7 Jan 2010 at 10:57

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

There should be no other way to end up with multiple types on a topic, except 
when 
using the add/remove topic type feature in administration mode. If you're able 
to do 
it in any other way then please reopen this issue.

Original comment by indiapaleale@gmail.com on 7 Jan 2010 at 10:59

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

I did not use the administration mode to add the second topic type. After 
enabling it, 
I see, however, how to remove the additional topic type.

Original comment by kli...@gmail.com on 7 Jan 2010 at 11:07

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

I do not know how to reproduce this behaviour, though. If I come across this 
again, I 
will reopen the issue. 

Original comment by kli...@gmail.com on 7 Jan 2010 at 11:08

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

Great.

If you are able to reproduce it once more (and remember how you did it) then 
please 
let us know so that we can fix the problem.

Original comment by indiapaleale@gmail.com on 7 Jan 2010 at 11:11

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

I was able to reproduce the issue, and have just committed revision r786 which 
should fix the problem. Thanks for reporting it.

Original comment by indiapaleale@gmail.com on 7 Jan 2010 at 6:58

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant