Hi all, I want to highlight a quite dangerous bug, present even in the last released version (4.4.6).
Before adding to Jira, I want to share it here, I may go wrong with it.. This is the scenario. I'm using a EE (Enterprise Edition), 4.4.6. I create a SiteDefinition WITHOUT "domains". So the repository mapping is done only with "mappings" properties. I decided that the default and fallback language is French (fr) but the site has also German (de) and English (en). So, I make my access to the site with http://localhost:8080/magnoliaAuthor/mysite and I start to enter content/paragraphs. Everything fine, the content is editable, renderable, language switch is ok... ..BUT: when I am in the default language (fr) all the i18n nodeDatas are written to JCR with the suffix "_fr". This happens because the current site definition is not well recognized INSIDE the dialogs. When I'm in the dialogs, the "default" site is loaded, because neither the domain, neither the current content (we are in a servlet) can help to find the current site definition, so the "default" is taken into consideration. Furthermore, when we moved the development site in the production environment, we added the "domain" mapping. At that point, the content were rendered, but not editable any more, because NOW the default language was correctly French but there aren't nodeDatas without suffix (all are with "_fr"). What do you think about it? The solution for me now is only to make a script that renames all the "<xyz>_fr" nodeDatas to "<xyz>" and to add domain mapping even in development (not so friendly..) Matteo ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
