• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Bug in I18n.getMessage

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At first thank you for your great work - this forum is amazing and IMHO the best free Forum you can find, when you are preferring Application-Server technology.

Yesterday one of my Users (No Admin, No moderator) changed some Usersettings and now she gets an Error message everytime she tries to login:

Here is the returning HTML-Code



This User can not do anything as long she is logged in - and since "anything" includes logout - she can not do anything at all.

She told me that she changed some Settings in her Configuration and I tried to revert this settings as Admin.
I removed her Entries in her Userpage and as I tried to submit the changes the curse hit me too - I could not do anything anymore until I closed all Browserwindows to kill the cookie and logged in again.
My changes were not commited to the database.

All the other users can login, read and post normally and also can view the user-settings of other users without any issues.

What causes this Bug and what can I do to prevent other users (and me) to share her fate?
Can i fix her account without removing her user?


Thanks a lot
-Marc-
[originally posted on jforum.net by Avirillion]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems I found the "Bug" myself...
I was using the de_DE Language-Settings and the language-configuration lacked the entry ForumBase.usersList

So if anyone else encounters this problem:

Just add the following line in the
WEB-INF/config/languages/xx_XX.properties config (here for the German Setting):


cya
-Marc-
[originally posted on jforum.net by Avirillion]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marc,

this is a bug, in fact. There is some issue with the "I18n merge" code that fails to load the missing keys.

I'll register it in the bug tracker and fix it until next version. Thanks for the report.

Btw, where are you running JForum? I'm trying to collect sites that are running JForum and list them in the main page.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rafael,

my installation of JForum is running here:
http://avirillion.de/forum
It's a german discussion Forum for a J2EE-Browsergame i wrote
http://avirillion.de

The forum is read-only for unregistered Users, but for demonstration purpose you can list it on your main page, of course 8)


I have read that you are planning to implement a user-voting feature?!
The last hint about that was from may.
Hmm - think I'm very keen on that feature :-)
Is it planned to be ready within the next half year?

Thanks a lot,
-Marc-
[originally posted on jforum.net by Avirillion]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hhmm.. hard to say :roll:

Rafael
[originally posted on jforum.net by Rafael Steil]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!