Tomek,
I think I found the problem and this seems to be a bug.
The file "WikiEngine.java" seems to read language codes from an xml file:
"CountryCodes.xml". All the two letter language codes in this file are
CAPITALIZED:
| Eg: <twoLetterCode>EN</twoLetterCode>
|
So when this java class (WikiEngine.java) is looking for a certain language data source:
WikiEngine.java (line: 120)
-------------------------------
| return getByName(pageName, wikiContext, languageDataSources
| .get(langCode));
|
languageDataSources.get(langCode) is returning 'null' as there is no corresponding
datasource for the languageCode 'en'.
So instead of directly getting the language data source from the Map we can call a method
that will return the language data source from the Map case insensitively.
Please let me know if you are going to fix this in the above manner or whichever you find
comfortable.
Thanks
Dayal
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957790#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...