[PHPCR-74] [translations] allow detached document with locale propagation to mapped associations Created: 18/Jul/12 Updated: 01/Feb/13 Resolved: 01/Feb/13
|Reporter:||David Buchmann||Assignee:||Lukas Kahwe|
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.
|Comment by David Buchmann [ 01/Feb/13 ]|
the concept was changed to say that children translations are just updated to the new locale