ezsystems/ezpublish — pull request #371 by bdunogier (2012-07-16 08:17:14+00:00)
Title: Fixed #19174: previous versions XMLText embeds may not be added as relation

This fix is similar to one that was introduced earlier, that scans other languages of published ezxmltext attributes, and makes sure external links are registered in the database.

Without it, embedded relations that only exist in languages other than the published one won't be registered in ezcontentobject_link. I have thoroughly checked the eZXML API, and there was no cleaner way to get the list of embeds.

The pull request isn't complete yet, it misses:
- unit tests
- a fix script

Those should come today, and I'll push 'em to the same branch