I'm currently having a problem with dealing with linking between two modules with different baselines.
Example: I have a module A with 10 baselines and module B with 10 baselines. Links are out links from A => B. The last baseline of module A has been done 1 month after the last baseline of module B. In the meantime more objects in module B have been created and were linked from module A to them.
So now I have some links in the last baseline of module A that link to objects in module B that are non existent in the last baseline of module B (only are existent in the last baseline++).
When I run my DXL-Script in order to get all linked objects I also get the IDs of these non existent object eventhough they do not exist in the last baseline. I open both modules and load the last baseline with the load(module, baseline,false) function. The name of the baseline works and my debugging shows me that I'm really working on the latest baseline. But somehow these non existent objects are listed because of the linking. I've read something about echoed links but they do not work for me.
A possible solution would be to get the Date of the baseline of module A and compare it with the creation date of the linked object. But there must be an easier and cleaner way imho... any ideas?