-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.17
-
None
-
Empty show more show less
-
Nucleus 6, Nucleus 7
-
3
Steps to reproduce
- login to admincentral on https://demoauthor.magnolia-cms.com/.magnolia/admincentral
- open the pages app
- select the /travel page
- click on "Add page" action
- enter a page name, select template "Basic Template" and confirm with "Next" button
- the "Page properties" dialog opens and shows localised fields like the page title and the language switch in the lower left corner of the dialog (so far everything as expected)
- cancel the dialog
- select the /sportstation page in the pages app browser
- click on "Add page" action
- enter a page name, select template "Basic Template" and confirm with "Next" button
Expected results
The "Page properties" dialog opens and does not provide a language switch and the fields are not shown to be localized.
Reloading the page and first selecting /sportstation and then /travel will show the "Page properties" dialog for both without language switch and without localized fields.
In the config /server/i18n/authoring@class the MultiSiteI18nAuthoringSupport is configured which should determine the available locales for each site individually.
In the configuration of the sportstation site i18n is disabled which
https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:configuration:browser;/modules/multisite/config/sites/sportstation/i18n@enabled:treeview:
Actual results
The "Page properties" dialog opens and shows localised fields like the page title and the language switch in the lower left corner of the dialog
Workaround
Reloading the page seems to clear the cached
Development notes
The problem seems to be the info.magnolia.ui.dialog.actions.OpenDialogAction where the value context is populated only once and then cached independent of the node in the valueContext.