Posted on 26/01/2017 09:39:26
Hi NP,
Indeed, it's been a long time. I think I better pop out for a cup of hot chocolate soon - I hear you've got a new coffee maker :)
You're spot on. The referenced items are on the same website and they are all copied correctly into the new language. The relation list even copied and gets a new id. In the ItemListRelations table, however, I can see that the ids that the new list references are still the original/master items, not the copies.
This issue is a bit blocking for the customer as they create their structure and content pieces in the master and then create new languages for the site. We use a fair few relation lists, and this means that even if they translate the referenced content, that is not reflected when viewing the website. It is possible to work around this, but that means dereferencing the master items in all the lists and add references to the correct language version of the item. That is -- in this case at lease -- quite a long process.
Is there another workaround or fix to this, that isn't manually fixing each affected page for each language, that I can implement myself? I don't see an easy way as when the referenced item is copied, the id of the original item is no longer available. At first I thought I could use PageCopyOf, but that column is 0 for all these pages.
- Jeppe