Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-101

MissingTranslationException when parent is not translated

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      Getting a MissingTranslationException when displaying a banner on the frontend. It seems to be caused in the refreshDocumentForProxy method on line 496 of UOW, the parent document does not have a locale and therefore the fallback hint is false. The banner block is not translated and the banner images are (title property).

      See for a stacktrace: https://gist.github.com/rmsint/2c6700e00c47c95dc30e

        Activity

        Hide
        David Buchmann added a comment -

        ping roel

        Show
        David Buchmann added a comment - ping roel
        Hide
        David Buchmann added a comment -

        roel, can you please test with the latest phpcr-odm? we think this should be fixed now.

        Show
        David Buchmann added a comment - roel, can you please test with the latest phpcr-odm? we think this should be fixed now.

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            Roel Sint
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: