Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Private message count not filled in when using SSO

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When logging in using SSO the jforum code uses



instead of



to get the User object. (called from SSOUtils.userExists, ControllerUtils.refreshSession)

selectByName does not fill in the private message count



and therefore the text 'New Private Messages: (X)' does not show up in the forum header.

(note that it also doesn't get the user groups, is that bad?)

Can this be fixed?
[originally posted on jforum.net by jrouwe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've hacked GenericUserDAO:



(see added comments)

This fixes the bug. It would be nice if this was fixed in a general release too.

(note that I hacked the SQL string straight into the code, but it needs to be changed in the generic_queries.sql file)
[originally posted on jforum.net by jrouwe]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic