CC 2022: outdated linked Indd-Document on MasterSpread replaces content
I am met with the following bug on our 2022 server (v17.4.2):
when updating outdated links via script I use this line:
openDoc.links.everyItem().update();
however, if those outdated links are linked indd-pages contained on my masterSpreads, then instead of updating the links, the contents of my document will be completely replaced by the contents of that linked file.
I encountered the same bug when using place() to place another indd document containing the same outdated links. So place() also replaced the contents of my file. the image shows the contents of my file before and after updating my links.
This is extremely problematic, since updating the links via script before exporting is necessary for our process.
If I update the links manually, everything works fine.