As Magnolia 5.4.11/5.5.2 restores support for upload fields with i18n. It now appears that the mgnl:resource nodes created with i18n suffix are not properly accounted for.
- First, it appears I18nNodeWrapper no longer delegates #getNode to the I18nContentSupport, as it does for properties, and as it did between 4.5.2 and 4.5.8.
- Once we sort this out, we should ensure link generation gets it right.
Thanks for reporting, Tom Wespi:
I tested with 2 languages (de/en), created an i18n file upload field, uploaded 2 files (test_de.pdf, test_en.pdf) and created a link to them with cmsfn.link(content.file).
It creates following, wrong link:
The files are saved correctly under the node