Handling of builtin topics and their ids

Bug #372784 reported by Thomas Neidhart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TopiEngine
New
Undecided
Unassigned

Bug Description

builtin topics currently get internal ids that are automatically generated. This led to having supertype-subtype associations that are not identified and therefore not created in the super-sub table.

The solution suggested is:
1. For all the builtin types, we will create also in memory a local locator.
2. In the TopicMap::createTopic method we will check if the locator given is a builtin locator, and if so, we create the topic using the TopicMap::getOrCreateBuiltinTopic method. This method will use special internal ID for the topic created.
3. Related to that, we can remove the ids of the builtin topics from the table topicmap, and hard-code them in the TopicMap class.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.