Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6957

I18nNodeWrapper no longer wraps child-nodes

XMLWordPrintable

    • Saigon 86, Saigon 87, Saigon 88, Saigon 89, Saigon 90
    • 5

      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, tomwespi:

      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:
      /test/main/0/test_de.pdf
      /en/test/main/0/test_de.pdf

      The files are saved correctly under the node
      /test/main/0/file/filename ...
      /test/main/0/file_en/filename ...

        Acceptance criteria

              oanh.thai Oanh Thai Hoang
              mgeljic Mikaël Geljić
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - 3d Original Estimate - 3d
                    3d
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 4d 5h
                    4d 5h