PKP Bugzilla – Bug 3321
Galley upload form languages list can be empty
Last modified: 2008-07-14 09:50:52 PDT
We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.
In the "Edit a Layout Galley Page" the users are asked to choose a locale before they can continue, but no locale is available in the drop down menu. As a SA you can see the supported locale; However, if only one locale is supported, then the JM doesn't see any available locales in JM's languages page.
Norm on the support forums has found a solution and I had to use his solution for Current Oncology and it worked.
Seems like the problem only occurs when there's only one locale supported. So if we add a second locale as SA, then in the JM's languages page both locales show up. For Current oncology, I installed the french locale, and that made both locales show up in JM's languages page. From there I unchecked the french locale box under supported locales and it made everything ok.
Created attachment 551 [details]
Patch against pre-2.2.1 CVS
This was caused by a potentially missing supportedLocales setting for journals created prior to OJS 2.2 that only use a single language. This patch corrects the upgrade process, but journals that have already upgraded will need the following work-around:
1. As Site Admin, use the site-wide Languages page to install and enable a second language. (Any will do.)
2. As Journal Manager, for each affected journal, use the Languages page to set the journal's language options as desired. (It is not necessary to choose a second language for this to work.)
3. As Site Admin, return the site-wide Languages page to desired settings (i.e. disable the second language).