Issue description
When existing topics are imported, the order is significant in getting all the information imported.
Here is the exact scenario:
* Let's assume there is three subjects in the store: a, b, c.
* In the topic map M which is imported these subjects are called (a,1), 2, 3.
* Subject (a,1) has a name N1 which is scoped by 2.
* Since Subject (a,1) is already known in the store, the information from M is added immediately. The name N1 is posted to (a,1) with the scope 2, but 2 does not exist yet, so the scoping statement is no stored.
_Legend:
(a,1) means that the proxy knows of two ways of referring to its subject: a and 1._
Created: 2008-02-13 22:28:22, Robert Cerny Modified: 2009-08-21 08:59:06, Robert Cerny
Link,
No reifier
Comment
I changed the newchildren method in Topic_map.php, so that no matter whether or not a topic is known, the first thing that happens is that a stripped version of the topic (without names and occurrences) is put or posted to the store. This way the identity statements are imported first. Then after all associations have been created, all topics are put again. Only in the last step the names for the known items are created and therefore all the scoping information on the names is created correctly.
I created a test case for this issue and ran regression tests on the server.
Created: 2008-02-17 12:26:54, Robert Cerny Modified: 2008-02-17 12:29:05, Robert Cerny
Link,
No reifier
|
Affects
Topincs Server (Component)
Created: 2008-02-13 22:28:20, Robert Cerny Modified: 2008-02-13 22:28:20, Robert Cerny
Link,
No reifier
Reporting date2008-02-13 Created: 2008-02-13 22:28:22, Robert Cerny Modified: 2008-02-13 22:28:22, Robert Cerny
Link,
No reifier
Reported by
Robert Cerny
Created: 2008-02-13 22:28:21, Robert Cerny Modified: 2008-02-13 22:28:21, Robert Cerny
Link,
No reifier
Discovered in version
Topincs 2.0.0beta(5458)
Created: 2008-02-13 22:28:21, Robert Cerny Modified: 2008-02-13 22:28:21, Robert Cerny
Link,
No reifier
Resolving date2008-02-14 Created: 2008-02-14 22:57:23, Robert Cerny Modified: 2008-02-14 22:57:23, Robert Cerny
Link,
No reifier
Resolved by
Robert Cerny
Created: 2008-02-14 22:57:22, Robert Cerny Modified: 2008-02-14 22:57:22, Robert Cerny
Link,
No reifier
Resolved in version
Topincs 2.0.0
Created: 2008-02-14 22:57:22, Robert Cerny Modified: 2008-02-14 22:57:22, Robert Cerny
Link,
No reifier
|