Bug
topincs import-all-system-map fails again
Issue description
When importing all system maps, the output stalls at some store.
Developer comments
Tricky. This is caused by dobjects. The non-termination is caused by a loop in label generation: given two topics T1, T2: label of T1 needs label of T2 and the other way around. This non-sense was caused by applying a label rule for different topic type, which was caused since dobjects from a previous store in the same PHP process were used instead of the actual ones.
Now the root cause was that the clearing of internal caches is performed once the import command is finished in store A. For Dobjects this caused unfortunately a reinitalization with the directory of the store A. It is only done once since dobjects are requested many times in one request, so i want to avoid the check for null.
The solution was easy: when a store is used, call Dobject::init.
|
Work sessions3
Start |
2021-03-24T11:58:16
|
End |
2021-03-24T12:46:49
|
Participant |
Robert Cerny
|
Start |
2021-03-24T15:26:35
|
End |
2021-03-24T17:28:58
|
Participant |
Robert Cerny
|
Start |
2021-03-25T07:31:31
|
End |
2021-03-25T08:31:54
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.