![]() |
|
|
|
|
Change By:
|
Philip Mundt
(02/Oct/14 5:27 PM)
|
|
Description:
|
When opening an edit dialog in page app, {{defaultLocale}} is taken from the default site and not from node-based {{I18NAuthoringSupport}}.
Additionally, the {{DefaultI18NAuthoringSupport.i18nize(...)}} method wrongly uses the {{fallbackLocale}} to add a suffix to i18nizable properties. It should instead use the {{defaultLocale}}.
h5. Possible solution: - Add {{
getDefaultkLocale
getDefaultLocale
(Node node)}} and {{getI18nContentSupport(Node node)}} methods for {{DefaultI18nAuthoringSupport}}. -- Used {{Extended18NAuthoringSupport}} as workaround (we don't want to change interface in minor version). - Use introspection to check if {{
getDefaultkLocale
getDefaultLocale
(Node node)}} method exists and invoke it if it is. Remove this once MGNLUI-3068 is done.
Both solutions have in common: - Add {{getRelatedFormItem()}} to {{BasicTranformer}} and then using it in {{DefaultI18NAuthoringSupport.i18nize(...)}} to get node-based {{I18NAuthoringSupport}} from nodes created by {{FormBuilder}}.
h5. Notes The described behavior was also detected on the defaultLocale (MULTISITE-22).
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------