Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-74

[translations] allow detached document with locale propagation to mapped associations

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      managed documents can only ever exist once per DocumentManager, and thus only in one language. for this reason we did not want to make the language propagate for mapped children and references (as this would change the content of documents in a hard to understand way - and loading anything in a different language again would still lose the language)

      thus we should provide a findTranslation variant to get a detached translated document that fetches all associations as detached as well, keeping the locale setting.

      there is no way to handle the write case, but this would cover the read case.

        Activity

        Hide
        David Buchmann added a comment -

        the concept was changed to say that children translations are just updated to the new locale

        Show
        David Buchmann added a comment - the concept was changed to say that children translations are just updated to the new locale

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            David Buchmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: